X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1ba7e7b79f25db2d12c0e672e25b901313618af8..c3732409acc7a1e0b3cdb1f0a5dec7cc49a4b28b:/include/wx/xrc/xh_statbar.h?ds=inline diff --git a/include/wx/xrc/xh_statbar.h b/include/wx/xrc/xh_statbar.h index c1224c0710..395170aa02 100644 --- a/include/wx/xrc/xh_statbar.h +++ b/include/wx/xrc/xh_statbar.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_STATBAR_H_ #define _WX_XH_STATBAR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_statbar.h" #endif @@ -19,6 +19,7 @@ class WXDLLIMPEXP_XRC wxStatusBarXmlHandler : public wxXmlResourceHandler { +DECLARE_DYNAMIC_CLASS(wxStatusBarXmlHandler) public: wxStatusBarXmlHandler(); virtual wxObject *DoCreateResource();