X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d769508fb54392e63c5d2d4d96de02bee7887b8..48f7ffbe93ab587c54643e2476b0e3b0c74e1386:/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);