]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed loading of icons from MIME types
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Jul 2003 17:21:15 +0000 (17:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Jul 2003 17:21:15 +0000 (17:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/icon.cpp

index 74460dff34f35c1ed7421a7d927676ca4224564d..6a7783ebf533d4d858fc30d005f2af39fea7c387 100644 (file)
@@ -95,7 +95,7 @@ wxIcon::wxIcon(const wxIconLocation& loc)
     }
     //else: 0 is default
 
-    LoadFile(fullname);
+    LoadFile(fullname, wxBITMAP_TYPE_ICO);
 }
 
 wxIcon::~wxIcon()