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