X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aaf7ab431b85d817af39d1a19b6d392ff5bd9379..2f27c88987b5bea88ea2520e342ef2a0767021bc:/include/wx/mgl/icon.h diff --git a/include/wx/mgl/icon.h b/include/wx/mgl/icon.h index a555b70552..bd897febc7 100644 --- a/include/wx/mgl/icon.h +++ b/include/wx/mgl/icon.h @@ -7,14 +7,9 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - #ifndef __WX_ICON_H__ #define __WX_ICON_H__ -#ifdef __GNUG__ -#pragma interface "icon.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/bitmap.h" @@ -44,7 +39,7 @@ public: wxBitmap(filename, (wxBitmapType)type) {} wxIcon(const wxIconLocation& loc) - : wxBitmap(loc.GetFileName(), wxBITMAP_TYPE_ICO) + : wxBitmap(loc.GetFileName(), wxBITMAP_TYPE_ANY) { }