]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/icon.h
winundef.h serves for other compilators too with STL turned on.
[wxWidgets.git] / include / wx / motif / icon.h
index eea99e4055bdb32e8f7bca28b9c92dd40a3e0a88..e6d52926ea5d41cd58a49af3aaaefa32db8a1314 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_ICON_H_
 #define _WX_ICON_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "icon.h"
 #endif
 
@@ -63,7 +63,7 @@ public:
         { return !(*this == icon); }
 
 
-    DECLARE_DYNAMIC_CLASS(wxIcon);
+    DECLARE_DYNAMIC_CLASS(wxIcon)
 };
 
 #endif // _WX_ICON_H_