]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/icon.h
Renamed wxPrintNativeData methods to better match
[wxWidgets.git] / include / wx / msw / icon.h
index ac8695bdb709a7873a28a2276993c8952096e1b4..f7e3f41ad1a97820e4917d83eaa9d6894166dbdd 100644 (file)
@@ -49,7 +49,7 @@ public:
     wxIcon() { }
 
         // copy
-    wxIcon(const wxIcon& icon) { Ref(icon); }
+    wxIcon(const wxIcon& icon) : wxGDIImage(icon) { Ref(icon); }
 
         // from raw data
     wxIcon(const char bits[], int width, int height);
@@ -96,6 +96,8 @@ protected:
         return new wxIconRefData;
     }
 
+    virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;
+
     // create from XPM data
     void CreateIconFromXpm(const char **data);