]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/bitmap.h
adding Robert Lang's native CG-Bezier patch
[wxWidgets.git] / include / wx / mac / carbon / bitmap.h
index 054249c602d4d6817d49e42a1ee8fdc122930125..ff0c31c02c8e1dbbcca0e05a9fa7db14a4805f39 100644 (file)
@@ -110,7 +110,10 @@ public:
 
     // Copy constructors
     wxBitmap(const wxBitmap& bitmap)
-    { Ref(bitmap); }
+        : wxBitmapBase()
+    {
+        Ref(bitmap);
+    }
 
     // Initialize with raw data.
     wxBitmap(const char bits[], int width, int height, int depth = 1);
@@ -196,7 +199,7 @@ public:
     // returns the 'native' implementation, a GWorldPtr for the content and one for the mask 
     WXHBITMAP GetHBITMAP( WXHBITMAP * mask = NULL ) const;
 
-#if wxMAC_USE_CORE_GRAPHICS
+#ifdef __WXMAC_OSX__
     // returns a CGImageRef which must released after usage with CGImageRelease
     WXCGIMAGEREF CGImageCreate() const ;
 #endif