- b = wx.Button(self, -1, "Show Find Dialog", (25, 50))
- self.Bind(wx.EVT_BUTTON, self.OnShowFind, b)
-
- b = wx.Button(self, -1, "Show Find && Replace Dialog", (25, 90))
- self.Bind(wx.EVT_BUTTON, self.OnShowFindReplace, b)
+ self.fbtn = wx.Button(self, -1, "Show Find Dialog", (25, 50))
+ self.Bind(wx.EVT_BUTTON, self.OnShowFind, self.fbtn)