- Work towards new setup
This commit is contained in:
parent
982624108c
commit
4681d2bf03
@ -248,15 +248,11 @@ class ResultWindow(wx.Dialog):
|
|||||||
btn = wx.ContextHelpButton(self)
|
btn = wx.ContextHelpButton(self)
|
||||||
btnsizer.AddButton(btn)
|
btnsizer.AddButton(btn)
|
||||||
|
|
||||||
btn = wx.Button(self, wx.ID_OK)
|
btn = wx.Button(self, wx.ID_CLOSE)
|
||||||
btn.SetHelpText("The OK button completes the dialog")
|
btn.SetHelpText("Close window")
|
||||||
btn.SetDefault()
|
btn.SetDefault()
|
||||||
btnsizer.AddButton(btn)
|
btnsizer.AddButton(btn)
|
||||||
|
|
||||||
btn = wx.Button(self, wx.ID_CANCEL)
|
|
||||||
btn.SetHelpText("The Cancel button cnacels the dialog. (Cool, huh?)")
|
|
||||||
btnsizer.AddButton(btn)
|
|
||||||
btnsizer.Realize()
|
|
||||||
|
|
||||||
sizer.Add(btnsizer, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5)
|
sizer.Add(btnsizer, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user