X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aaf7ab431b85d817af39d1a19b6d392ff5bd9379..92199f4cb8bc24ee2f4844cad9f9d5776c35d098:/include/wx/mgl/icon.h diff --git a/include/wx/mgl/icon.h b/include/wx/mgl/icon.h index a555b70552..40ed949c92 100644 --- a/include/wx/mgl/icon.h +++ b/include/wx/mgl/icon.h @@ -11,7 +11,7 @@ #ifndef __WX_ICON_H__ #define __WX_ICON_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "icon.h" #endif @@ -44,7 +44,7 @@ public: wxBitmap(filename, (wxBitmapType)type) {} wxIcon(const wxIconLocation& loc) - : wxBitmap(loc.GetFileName(), wxBITMAP_TYPE_ICO) + : wxBitmap(loc.GetFileName(), wxBITMAP_TYPE_ANY) { }