X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1ba7e7b79f25db2d12c0e672e25b901313618af8..9d9ad67384e5dc658c4de46e49113c321489bf81:/include/wx/xrc/xh_statbar.h?ds=sidebyside 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();