X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d769508fb54392e63c5d2d4d96de02bee7887b8..1a680109ac733a9bebfa08a614c1e22735fda2d9:/include/wx/msw/icon.h diff --git a/include/wx/msw/icon.h b/include/wx/msw/icon.h index 3a4dab9ba1..f7e3f41ad1 100644 --- a/include/wx/msw/icon.h +++ b/include/wx/msw/icon.h @@ -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);