X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/631f1bfed5d2df0215035207355d838328237578..e980740ac55c4718617e84c17b74ec34b96a0c24:/utils/wxPython/src/msw/events.py diff --git a/utils/wxPython/src/msw/events.py b/utils/wxPython/src/msw/events.py index f8a052d14b..d773d463d6 100644 --- a/utils/wxPython/src/msw/events.py +++ b/utils/wxPython/src/msw/events.py @@ -67,8 +67,8 @@ class wxCloseEventPtr(wxEventPtr): def __init__(self,this): self.this = this self.thisown = 0 - def CanVeto(self): - val = eventsc.wxCloseEvent_CanVeto(self.this) + def SetLoggingOff(self,arg0): + val = eventsc.wxCloseEvent_SetLoggingOff(self.this,arg0) return val def GetLoggingOff(self): val = eventsc.wxCloseEvent_GetLoggingOff(self.this) @@ -76,21 +76,15 @@ class wxCloseEventPtr(wxEventPtr): 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 SetCanVeto(self,arg0): val = eventsc.wxCloseEvent_SetCanVeto(self.this,arg0) return val - def SetLoggingOff(self,arg0): - val = eventsc.wxCloseEvent_SetLoggingOff(self.this,arg0) - return val - def GetForce(self): - val = eventsc.wxCloseEvent_GetForce(self.this) - return val def __repr__(self): return "" class wxCloseEvent(wxCloseEventPtr): @@ -292,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 "" class wxKeyEvent(wxKeyEventPtr):