SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -46,9 +46,9 @@ class wxPyAppPtr(wxEvtHandlerPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __del__(self,wxc=wxc):
|
||||
if self.thisown == 1 :
|
||||
wxc.delete_wxPyApp(self)
|
||||
def __del__(self,delfunc=wxc.delete_wxPyApp):
|
||||
if self.thisown == 1:
|
||||
delfunc(self)
|
||||
def _setCallbackInfo(self, *_args, **_kwargs):
|
||||
val = apply(wxc.wxPyApp__setCallbackInfo,(self,) + _args, _kwargs)
|
||||
return val
|
||||
@@ -1071,6 +1071,12 @@ def EVT_WINDOW_CREATE(win, func):
|
||||
def EVT_WINDOW_DESTROY(win, func):
|
||||
win.Connect(-1, -1, wxEVT_DESTROY, func)
|
||||
|
||||
def EVT_WINDOW_CREATE_ID(win, id, func):
|
||||
win.Connect(id, -1, wxEVT_CREATE, func)
|
||||
|
||||
def EVT_WINDOW_DESTROY_ID(win, id, func):
|
||||
win.Connect(id, -1, wxEVT_DESTROY, func)
|
||||
|
||||
def EVT_SET_CURSOR(win, func):
|
||||
win.Connect(-1, -1, wxEVT_SET_CURSOR, func)
|
||||
|
||||
|
Reference in New Issue
Block a user