X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c368d904fc27d35ae1e533155e2154dc496432e4..331a33a1bc4f5a9f3d34acaae47f12e06fd6f57a:/wxPython/src/msw/events.py diff --git a/wxPython/src/msw/events.py b/wxPython/src/msw/events.py index 4a44a50011..3d61ae0ddf 100644 --- a/wxPython/src/msw/events.py +++ b/wxPython/src/msw/events.py @@ -810,6 +810,9 @@ class wxNotifyEventPtr(wxCommandEventPtr): def IsAllowed(self, *_args, **_kwargs): val = apply(eventsc.wxNotifyEvent_IsAllowed,(self,) + _args, _kwargs) return val + def Allow(self, *_args, **_kwargs): + val = apply(eventsc.wxNotifyEvent_Allow,(self,) + _args, _kwargs) + return val def Veto(self, *_args, **_kwargs): val = apply(eventsc.wxNotifyEvent_Veto,(self,) + _args, _kwargs) return val