X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/56d4016a1685178f2156ee65fb9fc5143c3f7bed..aac65598a1137a8a9d4d31155ba83833500aea4d:/include/wx/mac/statbmp.h diff --git a/include/wx/mac/statbmp.h b/include/wx/mac/statbmp.h index a17d51af4b..a457c967f9 100644 --- a/include/wx/mac/statbmp.h +++ b/include/wx/mac/statbmp.h @@ -63,7 +63,7 @@ class WXDLLEXPORT wxStaticBitmap: public wxControl // for compatibility with wxMSW void SetIcon(const wxIcon& icon) { - SetBitmap( icon ); + SetBitmap( (const wxBitmap&) icon ); } // overriden base class virtuals