// 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);
// 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