From 81ba2662b188f62ee9a04501d89ce83be1bbec54 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 20 Jul 2003 17:21:15 +0000 Subject: [PATCH] fixed loading of icons from MIME types git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/icon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.45.2