From: Vadim Zeitlin Date: Sun, 20 Jul 2003 17:21:15 +0000 (+0000) Subject: fixed loading of icons from MIME types X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/81ba2662b188f62ee9a04501d89ce83be1bbec54 fixed loading of icons from MIME types git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/icon.cpp b/src/msw/icon.cpp index 74460dff34..6a7783ebf5 100644 --- a/src/msw/icon.cpp +++ b/src/msw/icon.cpp @@ -95,7 +95,7 @@ wxIcon::wxIcon(const wxIconLocation& loc) } //else: 0 is default - LoadFile(fullname); + LoadFile(fullname, wxBITMAP_TYPE_ICO); } wxIcon::~wxIcon()