wxPython 2.0b9, first phase (win32)

Added gobs of stuff, see wxPython/README.txt for details


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-04-30 03:29:54 +00:00
parent ca298c8852
commit cf694132f1
137 changed files with 31032 additions and 4280 deletions

View File

@@ -605,6 +605,29 @@ class wxSysColourChangedEvent(wxSysColourChangedEventPtr):
class wxPyEventPtr(wxCommandEventPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self):
if self.thisown == 1 :
eventsc.delete_wxPyEvent(self.this)
def SetUserData(self,arg0):
val = eventsc.wxPyEvent_SetUserData(self.this,arg0)
return val
def GetUserData(self):
val = eventsc.wxPyEvent_GetUserData(self.this)
return val
def __repr__(self):
return "<C wxPyEvent instance>"
class wxPyEvent(wxPyEventPtr):
def __init__(self,*args) :
self.this = apply(eventsc.new_wxPyEvent,()+args)
self.thisown = 1
#-------------- FUNCTION WRAPPERS ------------------