X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30dc34551bc893d879bb5e3a6969354066445fc9..d44d0cbd7343e36ddd3657dd97cd5eb7018d2585:/include/wx/xrc/xh_menu.h diff --git a/include/wx/xrc/xh_menu.h b/include/wx/xrc/xh_menu.h index 52274fb81b..7a241d1a5b 100644 --- a/include/wx/xrc/xh_menu.h +++ b/include/wx/xrc/xh_menu.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_MENU_H_ #define _WX_XH_MENU_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_menu.h" #endif @@ -31,7 +31,7 @@ private: class WXDLLIMPEXP_XRC wxMenuBarXmlHandler : public wxXmlResourceHandler { - DECLARE_DYNAMIC_CLASS(wxMenuBarXmlHandler) + DECLARE_DYNAMIC_CLASS(wxMenuBarXmlHandler) public: wxMenuBarXmlHandler(); virtual wxObject *DoCreateResource();