X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3dec57adfdb2469b7679930092f0bd9c8569d62c..f94d2a37182ad24352e13c5b7dc97e4c26b44a12:/src/mac/icon.cpp?ds=sidebyside diff --git a/src/mac/icon.cpp b/src/mac/icon.cpp index 7bfb1d8309..26cb83e93c 100644 --- a/src/mac/icon.cpp +++ b/src/mac/icon.cpp @@ -61,7 +61,7 @@ bool wxIcon::LoadFile(const wxString& filename, long type, m_refData = new wxBitmapRefData; - wxBitmapHandler *handler = FindHandler(type); + wxBitmapHandler *handler = FindHandler((wxBitmapType)type); if ( handler ) return handler->LoadFile(this, filename, type, desiredWidth, desiredHeight);