X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/999d9a9f795cfc745681989ae0f30e531cde059f..32c19f25fce3a38f9e4cf1497761fd7364d7bc62:/include/wx/xrc/xh_spin.h diff --git a/include/wx/xrc/xh_spin.h b/include/wx/xrc/xh_spin.h index 9d44a0ffe9..ff0778fbcb 100644 --- a/include/wx/xrc/xh_spin.h +++ b/include/wx/xrc/xh_spin.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_SPIN_H_ #define _WX_XH_SPIN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_spin.h" #endif @@ -19,8 +19,9 @@ #include "wx/defs.h" #if wxUSE_SPINBTN -class WXXMLDLLEXPORT wxSpinButtonXmlHandler : public wxXmlResourceHandler +class WXDLLIMPEXP_XRC wxSpinButtonXmlHandler : public wxXmlResourceHandler { + DECLARE_DYNAMIC_CLASS(wxSpinButtonXmlHandler) enum { wxSP_DEFAULT_VALUE = 0, @@ -36,8 +37,9 @@ public: #endif #if wxUSE_SPINCTRL -class WXXMLDLLEXPORT wxSpinCtrlXmlHandler : public wxXmlResourceHandler +class WXDLLIMPEXP_XRC wxSpinCtrlXmlHandler : public wxXmlResourceHandler { + DECLARE_DYNAMIC_CLASS(wxSpinCtrlXmlHandler) enum { wxSP_DEFAULT_VALUE = 0,