X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5273bf2fd3292ec3ab3da4f0c197b2f0e93df32e..c6eaa6fb6733d8472a14e220a5656787eafda398:/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);