X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/923d28da0eed674dfd7f4a497568ac14a29f0189..dc4689ef73c1046e49978fcd0a929f3dd975fbb9:/src/cocoa/icon.mm diff --git a/src/cocoa/icon.mm b/src/cocoa/icon.mm index d385c6d9c7..09924c8cb7 100644 --- a/src/cocoa/icon.mm +++ b/src/cocoa/icon.mm @@ -14,10 +14,9 @@ #include "wx/icon.h" #ifndef WX_PRECOMP + #include "wx/bitmap.h" #endif //WX_PRECOMP -#include "wx/bitmap.h" - #include "wx/cocoa/autorelease.h" #import @@ -135,7 +134,7 @@ void wxIcon::CopyFromBitmap(const wxBitmap& bitmap) M_ICONDATA->m_quality = 0; } -bool wxIcon::Ok() const +bool wxIcon::IsOk() const { return m_refData && M_ICONDATA->m_ok; }