X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d26dc89c5e7a421f4f8807728928eee91aa5f7e..72797a7da3f02b1b71949d4ea8827529a2c8c7b1:/wxPython/src/msw/events.py diff --git a/wxPython/src/msw/events.py b/wxPython/src/msw/events.py index 067c8ed1f5..14c4797811 100644 --- a/wxPython/src/msw/events.py +++ b/wxPython/src/msw/events.py @@ -406,6 +406,36 @@ class wxMouseCaptureChangedEvent(wxMouseCaptureChangedEventPtr): +class wxSetCursorEventPtr(wxEventPtr): + def __init__(self,this): + self.this = this + self.thisown = 0 + def GetX(self, *_args, **_kwargs): + val = apply(eventsc.wxSetCursorEvent_GetX,(self,) + _args, _kwargs) + return val + def GetY(self, *_args, **_kwargs): + val = apply(eventsc.wxSetCursorEvent_GetY,(self,) + _args, _kwargs) + return val + def SetCursor(self, *_args, **_kwargs): + val = apply(eventsc.wxSetCursorEvent_SetCursor,(self,) + _args, _kwargs) + return val + def GetCursor(self, *_args, **_kwargs): + val = apply(eventsc.wxSetCursorEvent_GetCursor,(self,) + _args, _kwargs) + if val: val = wxCursorPtr(val) + return val + def HasCursor(self, *_args, **_kwargs): + val = apply(eventsc.wxSetCursorEvent_HasCursor,(self,) + _args, _kwargs) + return val + def __repr__(self): + return "" % (self.this,) +class wxSetCursorEvent(wxSetCursorEventPtr): + def __init__(self,*_args,**_kwargs): + self.this = apply(eventsc.new_wxSetCursorEvent,_args,_kwargs) + self.thisown = 1 + + + + class wxKeyEventPtr(wxEventPtr): def __init__(self,this): self.this = this