))
self.Bind(wx.EVT_COMBOBOX, self.OnCombo, id=cbID)
+ tb.AddSeparator()
search = TestSearchCtrl(tb, size=(150,-1), doSearch=self.DoSearch)
tb.AddControl(search)
tb.Realize()
-
def DoSearch(self, text):
# called by TestSearchCtrl
self.log.WriteText("DoSearch: %s\n" % text)
def OnButton(self, evt):
win = TestToolBar(self, self.log)
win.Show(True)
+ self.frame = win
#---------------------------------------------------------------------------