]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/gdi.py
correction for Mac OS compilation
[wxWidgets.git] / wxPython / src / gtk / gdi.py
index 6634f6f0a5d7b6136afa396b341c48c0badefd9e..78eeff00ba68c52017f7ceecc17e3b3f0d26cb69 100644 (file)
@@ -1067,6 +1067,11 @@ def wxBitmapFromIcon(*_args, **_kwargs):
     if val: val = wxBitmapPtr(val); val.thisown = 1
     return val
 
+def wxBitmapFromBits(*_args, **_kwargs):
+    val = apply(gdic.wxBitmapFromBits,_args,_kwargs)
+    if val: val = wxBitmapPtr(val); val.thisown = 1
+    return val
+
 def wxMaskColour(*_args, **_kwargs):
     val = apply(gdic.wxMaskColour,_args,_kwargs)
     if val: val = wxMaskPtr(val); val.thisown = 1