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

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):

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)

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)