X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f12c2c9555e3498d5c27c9245f1bcaec2bcd2c2..7c11806499166993dffcbb99139d5b248a2c6c82:/include/wx/motif/icon.h diff --git a/include/wx/motif/icon.h b/include/wx/motif/icon.h index eea99e4055..e6d52926ea 100644 --- a/include/wx/motif/icon.h +++ b/include/wx/motif/icon.h @@ -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_