subclass all updown controls in notebooks, not just the first one
[wxWidgets.git] / wxPython / demo / SplitTree.py
index 07884d944545612a9097f3730d1b14f4dd1eca24..bf88d3a60d9dada4aa8555cbb41706cd7fa232c3 100644 (file)
@@ -48,10 +48,6 @@ class TestValueWindow(gizmos.TreeCompanionWindow):
     def __init__(self, parent, style=0):
         gizmos.TreeCompanionWindow.__init__(self, parent, -1, style=style)
         self.SetBackgroundColour("WHITE")
-        self.Bind(wx.EVT_ERASE_BACKGROUND, self.OEB)
-
-    def OEB(self, evt):
-        pass
 
     # This method is called to draw each item in the value window
     def DrawItem(self, dc, itemId, rect):