]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/icon.h
Removed unused symbol __WXOS2__ (it's either __OS2__ when platform specific
[wxWidgets.git] / include / wx / x11 / icon.h
index 95ec79f429fc35f804d20fbcae2fc3d538289a92..b9e749f2f8ce3ebf270941a071bf9b7752f3ba30 100644 (file)
 #ifndef _WX_ICON_H_
 #define _WX_ICON_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface "icon.h"
-#endif
-
 #include "wx/bitmap.h"
 
 //-----------------------------------------------------------------------------
 // wxIcon
 //-----------------------------------------------------------------------------
 
-class wxIcon: public wxBitmap
+class WXDLLIMPEXP_CORE wxIcon: public wxBitmap
 {
 public:
     wxIcon();
@@ -39,7 +35,7 @@ public:
     wxIcon( char **bits, int width=-1, int height=-1 );
 
     wxIcon(const wxIconLocation& loc)
-        : wxBitmap(loc.GetFileName(), wxBITMAP_TYPE_XPM)
+        : wxBitmap(loc.GetFileName(), wxBITMAP_TYPE_ANY)
     {
     }