Removed automatic "Magic Event Methods" bindings
Added explicit bindings where needed other assorted odds and ends git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -59,6 +59,8 @@ else:
|
||||
def __init__(self, parent):
|
||||
wxGLCanvas.__init__(self, parent, -1)
|
||||
EVT_ERASE_BACKGROUND(self, self.OnEraseBackground)
|
||||
EVT_SIZE(self, self.OnSize)
|
||||
EVT_PAINT(self, self.OnPaint)
|
||||
self.init = false
|
||||
|
||||
def OnEraseBackground(self, event):
|
||||
@@ -148,6 +150,8 @@ else:
|
||||
def __init__(self, parent):
|
||||
wxGLCanvas.__init__(self, parent, -1)
|
||||
EVT_ERASE_BACKGROUND(self, self.OnEraseBackground)
|
||||
EVT_SIZE(self, self.OnSize)
|
||||
EVT_PAINT(self, self.OnPaint)
|
||||
self.init = false
|
||||
|
||||
def OnEraseBackground(self, event):
|
||||
|
Reference in New Issue
Block a user