X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/298ae144957fbf51f26d500b6bc908a9e31cac80..a90253f00d9290c4682968f18a4f84a2b6d4a98a:/wxPython/src/gtk/events.py?ds=sidebyside diff --git a/wxPython/src/gtk/events.py b/wxPython/src/gtk/events.py index 14c4797811..402df0334c 100644 --- a/wxPython/src/gtk/events.py +++ b/wxPython/src/gtk/events.py @@ -1030,6 +1030,27 @@ class wxWindowDestroyEvent(wxWindowDestroyEventPtr): +class wxContextMenuEventPtr(wxCommandEventPtr): + def __init__(self,this): + self.this = this + self.thisown = 0 + def GetPosition(self, *_args, **_kwargs): + val = apply(eventsc.wxContextMenuEvent_GetPosition,(self,) + _args, _kwargs) + if val: val = wxPointPtr(val) + return val + def SetPosition(self, *_args, **_kwargs): + val = apply(eventsc.wxContextMenuEvent_SetPosition,(self,) + _args, _kwargs) + return val + def __repr__(self): + return "" % (self.this,) +class wxContextMenuEvent(wxContextMenuEventPtr): + def __init__(self,*_args,**_kwargs): + self.this = apply(eventsc.new_wxContextMenuEvent,_args,_kwargs) + self.thisown = 1 + + + + class wxTimerEventPtr(wxEventPtr): def __init__(self,this): self.this = this