Some minor updates, fixes, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,12 +29,6 @@ def _checkForCallback(obj, name, event, theID=-1):
|
||||
except: pass
|
||||
else: obj.Connect(theID, -1, event, cb)
|
||||
|
||||
## def _checkClassCallback(obj, name):
|
||||
## try: cb = getattr(obj, name)
|
||||
## except: pass
|
||||
## else: obj._addCallback(name, cb)
|
||||
|
||||
|
||||
def _StdWindowCallbacks(win):
|
||||
_checkForCallback(win, "OnChar", wxEVT_CHAR)
|
||||
_checkForCallback(win, "OnSize", wxEVT_SIZE)
|
||||
|
Reference in New Issue
Block a user