Some missing methods and etc. added
Some minor tweaks and fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -24,10 +24,10 @@ _wxSetDictionary(vars())
|
||||
# Helper function to link python methods to wxWindows virtual
|
||||
# functions by name.
|
||||
|
||||
## def _checkForCallback(obj, name, event, theID=-1):
|
||||
## try: cb = getattr(obj, name)
|
||||
## except: pass
|
||||
## else: obj.Connect(theID, -1, event, cb)
|
||||
def _checkForCallback(obj, name, event, theID=-1):
|
||||
try: cb = getattr(obj, name)
|
||||
except: pass
|
||||
else: obj.Connect(theID, -1, event, cb)
|
||||
|
||||
## def _StdWindowCallbacks(win):
|
||||
## _checkForCallback(win, "OnChar", wxEVT_CHAR)
|
||||
|
Reference in New Issue
Block a user