diff --git a/src/cocoa/icon.cpp b/src/cocoa/icon.cpp index be8e8dfbc3..7ff6a32a67 100644 --- a/src/cocoa/icon.cpp +++ b/src/cocoa/icon.cpp @@ -52,12 +52,7 @@ bool wxIcon::LoadFile(const wxString& filename, wxBitmapType type, { UnRef(); - wxBitmapHandler *handler = FindHandler(type); - - if ( handler ) - return handler->LoadFile(this, filename, type, desiredWidth, desiredHeight); - else - return FALSE; + return FALSE; } void wxIcon::CopyFromBitmap(const wxBitmap& icno)