X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..72d4ce98fb1e6eec864075c97dbd17fae2764631:/include/wx/xrc/xh_stbox.h diff --git a/include/wx/xrc/xh_stbox.h b/include/wx/xrc/xh_stbox.h index 1773a47f82..1801cd1f27 100644 --- a/include/wx/xrc/xh_stbox.h +++ b/include/wx/xrc/xh_stbox.h @@ -11,15 +11,16 @@ #ifndef _WX_XH_STBOX_H_ #define _WX_XH_STBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_stbox.h" #endif #include "wx/xrc/xmlres.h" -class WXXMLDLLEXPORT wxStaticBoxXmlHandler : public wxXmlResourceHandler +class WXDLLIMPEXP_XRC wxStaticBoxXmlHandler : public wxXmlResourceHandler { +DECLARE_DYNAMIC_CLASS(wxStaticBoxXmlHandler) public: wxStaticBoxXmlHandler(); virtual wxObject *DoCreateResource();