X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..f014d4bf3e18198c273b3c119ad1a08d46d12c82:/include/wx/xrc/xh_chckb.h diff --git a/include/wx/xrc/xh_chckb.h b/include/wx/xrc/xh_chckb.h index 3738377b2f..90920cc108 100644 --- a/include/wx/xrc/xh_chckb.h +++ b/include/wx/xrc/xh_chckb.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_CHCKB_H_ #define _WX_XH_CHCKB_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_chckb.h" #endif @@ -20,8 +20,9 @@ #if wxUSE_CHECKBOX -class WXXMLDLLEXPORT wxCheckBoxXmlHandler : public wxXmlResourceHandler +class WXDLLIMPEXP_XRC wxCheckBoxXmlHandler : public wxXmlResourceHandler { +DECLARE_DYNAMIC_CLASS(wxCheckBoxXmlHandler) public: wxCheckBoxXmlHandler(); virtual wxObject *DoCreateResource();