]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/msw/events.py
* wxStream fixes (integer/line parsing).
[wxWidgets.git] / utils / wxPython / src / msw / events.py
index d773d463d67838d365e6939d1099a12403a3d9a5..243b0480b6e0b1056d2269a08f99fa2af311169f 100644 (file)
@@ -605,6 +605,48 @@ 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
+
+
+
+
+class wxNotifyEventPtr(wxCommandEventPtr):
+    def __init__(self,this):
+        self.this = this
+        self.thisown = 0
+    def IsAllowed(self):
+        val = eventsc.wxNotifyEvent_IsAllowed(self.this)
+        return val
+    def Veto(self):
+        val = eventsc.wxNotifyEvent_Veto(self.this)
+        return val
+    def __repr__(self):
+        return "<C wxNotifyEvent instance>"
+class wxNotifyEvent(wxNotifyEventPtr):
+    def __init__(self,this):
+        self.this = this
+
+
+
+
 
 
 #-------------- FUNCTION WRAPPERS ------------------