X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c60122bf37a65f07f517e14a98ce988a3eae8305..facc1d350b972d3e6b1fc72e82563104037df2d0:/wxPython/demo/SearchCtrl.py diff --git a/wxPython/demo/SearchCtrl.py b/wxPython/demo/SearchCtrl.py index dfadb43a28..83edf2e757 100644 --- a/wxPython/demo/SearchCtrl.py +++ b/wxPython/demo/SearchCtrl.py @@ -28,8 +28,8 @@ class TestPanel(wx.Panel): sizer.Add((15,15)) sizer.Add(self.search, 0, wx.ALL, 15) - self.tc = wx.TextCtrl(self) # just for testing that heights match... - sizer.Add(self.tc, 0, wx.TOP, 15) +## self.tc = wx.TextCtrl(self) # just for testing that heights match... +## sizer.Add(self.tc, 0, wx.TOP, 15) self.SetSizer(sizer) @@ -41,7 +41,7 @@ class TestPanel(wx.Panel): self.Bind(wx.EVT_SEARCHCTRL_SEARCH_BTN, self.OnSearch, self.search) self.Bind(wx.EVT_SEARCHCTRL_CANCEL_BTN, self.OnCancel, self.search) - self.search.Bind(wx.EVT_TEXT_ENTER, self.OnDoSearch) #, self.search) + self.search.Bind(wx.EVT_TEXT_ENTER, self.OnDoSearch, self.search) def OnToggleSearchButton(self, evt):