]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/gdi.py
Commented out the bitmap-greying code until I have time to debug it
[wxWidgets.git] / wxPython / src / mac / gdi.py
index 46a90c31dc44cf8725a03897204cae04e1016e28..f8cb69c429a5fe61b6438e7b823393cc7287c8f2 100644 (file)
@@ -692,6 +692,13 @@ class wxDCPtr(wxObjectPtr):
     def DrawIcon(self, *_args, **_kwargs):
         val = apply(gdic.wxDC_DrawIcon,(self,) + _args, _kwargs)
         return val
+    def DrawLabel(self, *_args, **_kwargs):
+        val = apply(gdic.wxDC_DrawLabel,(self,) + _args, _kwargs)
+        return val
+    def DrawImageLabel(self, *_args, **_kwargs):
+        val = apply(gdic.wxDC_DrawImageLabel,(self,) + _args, _kwargs)
+        if val: val = wxRectPtr(val) ; val.thisown = 1
+        return val
     def DrawLine(self, *_args, **_kwargs):
         val = apply(gdic.wxDC_DrawLine,(self,) + _args, _kwargs)
         return val