wxPython 2.0b9, second phase (gtk)

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-05-01 04:41:52 +00:00
parent d403febc27
commit ab9bc19bd1
40 changed files with 22462 additions and 3544 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 ------------------