X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/78e8819c2e3e35d6a7383af683e8d14b295462a2..922ba68045d84789ab1dfceb4d1aa1b6e2c5e810:/wxPython/src/msw/windows.py diff --git a/wxPython/src/msw/windows.py b/wxPython/src/msw/windows.py index 21add562c6..1f950d9e82 100644 --- a/wxPython/src/msw/windows.py +++ b/wxPython/src/msw/windows.py @@ -556,8 +556,8 @@ class wxWindowPtr(wxEvtHandlerPtr): val = apply(windowsc.wxWindow_GetAcceleratorTable,(self,) + _args, _kwargs) if val: val = wxAcceleratorTablePtr(val) return val - def base_OnPaint(self, *_args, **_kwargs): - val = apply(windowsc.wxWindow_base_OnPaint,(self,) + _args, _kwargs) + def OnPaint(self, *_args, **_kwargs): + val = apply(windowsc.wxWindow_OnPaint,(self,) + _args, _kwargs) return val def __repr__(self): return "" % (self.this,)