]> 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 130c95edbbc131e092a3006d5ef3542cbccdfa38..243b0480b6e0b1056d2269a08f99fa2af311169f 100644 (file)
@@ -67,20 +67,23 @@ class wxCloseEventPtr(wxEventPtr):
     def __init__(self,this):
         self.this = this
         self.thisown = 0
     def __init__(self,this):
         self.this = this
         self.thisown = 0
+    def SetLoggingOff(self,arg0):
+        val = eventsc.wxCloseEvent_SetLoggingOff(self.this,arg0)
+        return val
     def GetLoggingOff(self):
         val = eventsc.wxCloseEvent_GetLoggingOff(self.this)
         return val
     def Veto(self,*args):
         val = apply(eventsc.wxCloseEvent_Veto,(self.this,)+args)
         return val
     def GetLoggingOff(self):
         val = eventsc.wxCloseEvent_GetLoggingOff(self.this)
         return val
     def Veto(self,*args):
         val = apply(eventsc.wxCloseEvent_Veto,(self.this,)+args)
         return val
+    def CanVeto(self):
+        val = eventsc.wxCloseEvent_CanVeto(self.this)
+        return val
     def GetVeto(self):
         val = eventsc.wxCloseEvent_GetVeto(self.this)
         return val
     def GetVeto(self):
         val = eventsc.wxCloseEvent_GetVeto(self.this)
         return val
-    def SetForce(self,arg0):
-        val = eventsc.wxCloseEvent_SetForce(self.this,arg0)
-        return val
-    def GetForce(self):
-        val = eventsc.wxCloseEvent_GetForce(self.this)
+    def SetCanVeto(self,arg0):
+        val = eventsc.wxCloseEvent_SetCanVeto(self.this,arg0)
         return val
     def __repr__(self):
         return "<C wxCloseEvent instance>"
         return val
     def __repr__(self):
         return "<C wxCloseEvent instance>"
@@ -141,6 +144,19 @@ class wxScrollEvent(wxScrollEventPtr):
 
 
 
 
 
 
+class wxSpinEventPtr(wxScrollEventPtr):
+    def __init__(self,this):
+        self.this = this
+        self.thisown = 0
+    def __repr__(self):
+        return "<C wxSpinEvent instance>"
+class wxSpinEvent(wxSpinEventPtr):
+    def __init__(self,this):
+        self.this = this
+
+
+
+
 class wxMouseEventPtr(wxEventPtr):
     def __init__(self,this):
         self.this = this
 class wxMouseEventPtr(wxEventPtr):
     def __init__(self,this):
         self.this = this
@@ -270,15 +286,6 @@ class wxKeyEventPtr(wxEventPtr):
     def KeyCode(self):
         val = eventsc.wxKeyEvent_KeyCode(self.this)
         return val
     def KeyCode(self):
         val = eventsc.wxKeyEvent_KeyCode(self.this)
         return val
-    def Position(self):
-        val = eventsc.wxKeyEvent_Position(self.this)
-        return val
-    def GetX(self):
-        val = eventsc.wxKeyEvent_GetX(self.this)
-        return val
-    def GetY(self):
-        val = eventsc.wxKeyEvent_GetY(self.this)
-        return val
     def __repr__(self):
         return "<C wxKeyEvent instance>"
 class wxKeyEvent(wxKeyEventPtr):
     def __repr__(self):
         return "<C wxKeyEvent instance>"
 class wxKeyEvent(wxKeyEventPtr):
@@ -598,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 ------------------
 
 
 #-------------- FUNCTION WRAPPERS ------------------