]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/icon.h
added a few more composite functions
[wxWidgets.git] / include / wx / msw / icon.h
index 3a4dab9ba190070784ed1ccfea186a7abadff135..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);