]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/bitmap.h
1. derived wxMSW radio box from static box because it includes the box anyhow
[wxWidgets.git] / include / wx / msw / bitmap.h
index 0af92d4ea2c463f827b5c40a8f80d7bfd0653f98..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);
@@ -179,6 +179,7 @@ protected:
     void Init();
 
     virtual wxGDIImageRefData *CreateData() const;
+    virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;
 
     // creates the bitmap from XPM data, supposed to be called from ctor
     bool CreateFromXpm(const char **bits);