]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/bitmap.h
Simple wxBatteryPower API for the support in wxWinCE, wxPalmOS and any other mobile...
[wxWidgets.git] / include / wx / msw / bitmap.h
index 701c4a8c9ecf1deb4c98f0c00ea0d201aef439ac..90bcc1e7f382d521c472e6daf3e299c0bf7e7486 100644 (file)
@@ -46,7 +46,7 @@ public:
     wxBitmap() { Init(); }
 
     // Copy constructors
-    wxBitmap(const wxBitmap& bitmap) { Init(); Ref(bitmap); }
+    wxBitmap(const wxBitmap& bitmap) : wxGDIImage(bitmap) { Init(); Ref(bitmap); }
 
     // Initialize with raw data
     wxBitmap(const char bits[], int width, int height, int depth = 1);