X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5273bf2fd3292ec3ab3da4f0c197b2f0e93df32e..6b0d8a01d184b8d410238677b2cfc0e3059e1268:/include/wx/mac/icon.h?ds=sidebyside diff --git a/include/wx/mac/icon.h b/include/wx/mac/icon.h index c128f242aa..e1aa18fea5 100644 --- a/include/wx/mac/icon.h +++ b/include/wx/mac/icon.h @@ -27,7 +27,9 @@ public: wxIcon(); // Copy constructors - inline wxIcon(const wxIcon& icon) { Ref(icon); } + wxIcon(const wxIcon& icon) + : wxBitmap() + { Ref(icon); } wxIcon(const char **data); wxIcon(char **data);