]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove wxBitmapHandler code
authorDavid Elliott <dfe@tgwbd.org>
Mon, 21 Jul 2003 00:08:47 +0000 (00:08 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Mon, 21 Jul 2003 00:08:47 +0000 (00:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/icon.cpp

index be8e8dfbc3a05db05b17156bea49332d1446bc7c..7ff6a32a673973a08337da7d8034980125faabdf 100644 (file)
@@ -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)