]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/bitmap.h
[wxGTK] Support changing the wxSTAY_ON_TOP style value run-time through wxWindow...
[wxWidgets.git] / include / wx / mac / carbon / bitmap.h
index c051d22fdb8d7d4c8c8f2cf96163083f20124e59..64bc3dad0481efd5ad642485fba222043f6841b9 100644 (file)
 #ifndef _WX_BITMAP_H_
 #define _WX_BITMAP_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-  #pragma interface "bitmap.h"
-#endif
-
 #include "wx/palette.h"
 
 // Bitmap
@@ -110,7 +106,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);