X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..32485259c1342115488d219776dfebeb3d4d81b1:/include/wx/xrc/xh_radbt.h diff --git a/include/wx/xrc/xh_radbt.h b/include/wx/xrc/xh_radbt.h index 58c1288c12..e9933c3915 100644 --- a/include/wx/xrc/xh_radbt.h +++ b/include/wx/xrc/xh_radbt.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_RADBT_H_ #define _WX_XH_RADBT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_radbt.h" #endif @@ -20,8 +20,9 @@ #if wxUSE_RADIOBOX -class WXXMLDLLEXPORT wxRadioButtonXmlHandler : public wxXmlResourceHandler +class WXDLLIMPEXP_XRC wxRadioButtonXmlHandler : public wxXmlResourceHandler { +DECLARE_DYNAMIC_CLASS(wxRadioButtonXmlHandler) public: wxRadioButtonXmlHandler(); virtual wxObject *DoCreateResource();