From 4c7020e9f5df00af0c0fe51e669cfffd5a2c3b3e Mon Sep 17 00:00:00 2001 From: David Elliott Date: Mon, 21 Jul 2003 00:08:47 +0000 Subject: [PATCH] Remove wxBitmapHandler code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/cocoa/icon.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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)