]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_image.i
Allow for Cmd-click on wxMac
[wxWidgets.git] / wxPython / src / _image.i
index 700cfdc9386762ea5e9ee0f975decf7856764383..d248f1a0fa470758cde82b47f52f22ad5c6d5aa7 100644 (file)
@@ -90,7 +90,8 @@ public:
             else
                 return new wxImage;
         }   
-           
+
+        MustHaveApp(wxImage(const wxBitmap &bitmap));
         %name(ImageFromBitmap) wxImage(const wxBitmap &bitmap) {
             return new wxImage(bitmap.ConvertToImage());
         }
@@ -312,6 +313,9 @@ success flag and rgb values.", "");
     static wxString GetImageExtWildcard();
 
 
+MustHaveApp(ConvertToBitmap);
+MustHaveApp(ConvertToMonoBitmap);
+    
     %extend {
         wxBitmap ConvertToBitmap() {
             wxBitmap bitmap(*self);