]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/gtk/events.py
Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
[wxWidgets.git] / utils / wxPython / src / gtk / events.py
index 7d20bbc8278bc42f986a68736b23c8d5b88355e9..d773d463d67838d365e6939d1099a12403a3d9a5 100644 (file)
@@ -67,20 +67,23 @@ class wxCloseEventPtr(wxEventPtr):
     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 CanVeto(self):
+        val = eventsc.wxCloseEvent_CanVeto(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>"
@@ -283,15 +286,6 @@ class wxKeyEventPtr(wxEventPtr):
     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):