X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aaf7ab431b85d817af39d1a19b6d392ff5bd9379..2cb4351487d67bf316c333edd667d7074c1d866b:/src/msw/icon.cpp diff --git a/src/msw/icon.cpp b/src/msw/icon.cpp index 74460dff34..9064101a53 100644 --- a/src/msw/icon.cpp +++ b/src/msw/icon.cpp @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "icon.h" #endif @@ -95,7 +95,7 @@ wxIcon::wxIcon(const wxIconLocation& loc) } //else: 0 is default - LoadFile(fullname); + LoadFile(fullname, wxBITMAP_TYPE_ICO); } wxIcon::~wxIcon()