]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/windows.py
no real changes
[wxWidgets.git] / wxPython / src / msw / windows.py
index d702a31a85b4f7613cb3767bba3c227ef41c40e0..1f950d9e82c48604d2ddd046fb55df8c01047083 100644 (file)
@@ -556,6 +556,9 @@ class wxWindowPtr(wxEvtHandlerPtr):
         val = apply(windowsc.wxWindow_GetAcceleratorTable,(self,) + _args, _kwargs)
         if val: val = wxAcceleratorTablePtr(val) 
         return val
+    def OnPaint(self, *_args, **_kwargs):
+        val = apply(windowsc.wxWindow_OnPaint,(self,) + _args, _kwargs)
+        return val
     def __repr__(self):
         return "<C wxWindow instance at %s>" % (self.this,)
     # replaces broken shadow method