Don't bypass the bacground erase anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -48,10 +48,6 @@ class TestValueWindow(gizmos.TreeCompanionWindow):
|
|||||||
def __init__(self, parent, style=0):
|
def __init__(self, parent, style=0):
|
||||||
gizmos.TreeCompanionWindow.__init__(self, parent, -1, style=style)
|
gizmos.TreeCompanionWindow.__init__(self, parent, -1, style=style)
|
||||||
self.SetBackgroundColour("WHITE")
|
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
|
# This method is called to draw each item in the value window
|
||||||
def DrawItem(self, dc, itemId, rect):
|
def DrawItem(self, dc, itemId, rect):
|
||||||
|
Reference in New Issue
Block a user