]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/image.py
Implemented wxGetClientDisplayRect which returns the dimensions of the
[wxWidgets.git] / wxPython / src / msw / image.py
index 53ae04d20010e2597058b8f104f58188a3acfbd7..7d0e7fe23dc0a084ece5ea98061690aa867fafa0 100644 (file)
@@ -281,6 +281,11 @@ def wxImageFromBitmap(*_args, **_kwargs):
 
 wxInitAllImageHandlers = imagec.wxInitAllImageHandlers
 
+def wxBitmapFromImage(*_args, **_kwargs):
+    val = apply(imagec.wxBitmapFromImage,_args,_kwargs)
+    if val: val = wxBitmapPtr(val); val.thisown = 1
+    return val
+
 wxImage_CanRead = imagec.wxImage_CanRead
 
 wxImage_AddHandler = imagec.wxImage_AddHandler