]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/gdi.py
fixed refresh problem after adding some items and calling Ensurevisible()
[wxWidgets.git] / wxPython / src / msw / gdi.py
index b8a6156f141bead6fb287cd395a32731518d87d3..a4a82578fa411a97344594f2bef49da3dd203017 100644 (file)
@@ -821,6 +821,9 @@ class wxDCPtr(wxObjectPtr):
     def ResetBoundingBox(self, *_args, **_kwargs):
         val = apply(gdic.wxDC_ResetBoundingBox,(self,) + _args, _kwargs)
         return val
+    def GetHDC(self, *_args, **_kwargs):
+        val = apply(gdic.wxDC_GetHDC,(self,) + _args, _kwargs)
+        return val
     def __repr__(self):
         return "<C wxDC instance at %s>" % (self.this,)
 class wxDC(wxDCPtr):