This commit is contained in:
Daid committed 2012-08-28 10:19:55 +02:00
1 parent b34ba2fa22
commit cb9b85c8d3
3 files changed
+5 -4

No files matched your search

+1
View File
@@ -85,6 +85,7 @@ class InfoPage(wx.wizard.WizardPageSimple):
button = wx.Button(self, -1, buttonText)
self.GetSizer().Add(text, pos=(self.rowNr, 0), span=(1,1), flag=wx.LEFT)
self.GetSizer().Add(button, pos=(self.rowNr, 1), span=(1,1), flag=wx.LEFT)
self.rowNr += 1
return text, button
def AllowNext(self):
+2 -2
View File
@@ -206,8 +206,8 @@ class mainWindow(configBase.configWindowBase):
# load and slice buttons.
loadButton = wx.Button(self, -1, 'Load Model')
sliceButton = wx.Button(self, -1, 'Slice to GCode')
printButton = wx.Button(self, -1, 'Print GCode')
sliceButton = wx.Button(self, -1, 'Prepare print')
printButton = wx.Button(self, -1, 'Print')
self.Bind(wx.EVT_BUTTON, lambda e: self._showModelLoadDialog(1), loadButton)
self.Bind(wx.EVT_BUTTON, self.OnSlice, sliceButton)
self.Bind(wx.EVT_BUTTON, self.OnPrint, printButton)
+2 -2
View File
@@ -100,8 +100,8 @@ class simpleModeWindow(configBase.configWindowBase):
# load and slice buttons.
loadButton = wx.Button(self, -1, 'Load Model')
sliceButton = wx.Button(self, -1, 'Slice to GCode')
printButton = wx.Button(self, -1, 'Print GCode')
sliceButton = wx.Button(self, -1, 'Prepare print')
printButton = wx.Button(self, -1, 'Print')
self.Bind(wx.EVT_BUTTON, self.OnLoadModel, loadButton)
self.Bind(wx.EVT_BUTTON, self.OnSlice, sliceButton)
self.Bind(wx.EVT_BUTTON, self.OnPrint, printButton)