X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f80ea77b4a8bac4ab005bfc592f9cd3262ffa397..d50dbf7c6a8044a4084f6ffc51aa13d4a2c620c4:/src/xrc/xh_spin.cpp diff --git a/src/xrc/xh_spin.cpp b/src/xrc/xh_spin.cpp index c6ad0fcf92..73c96c7a43 100644 --- a/src/xrc/xh_spin.cpp +++ b/src/xrc/xh_spin.cpp @@ -19,11 +19,11 @@ #pragma hdrstop #endif +#if wxUSE_XRC && wxUSE_SPINBTN + #include "wx/xrc/xh_spin.h" #include "wx/spinctrl.h" -#if wxUSE_SPINBTN - IMPLEMENT_DYNAMIC_CLASS(wxSpinButtonXmlHandler, wxXmlResourceHandler) wxSpinButtonXmlHandler::wxSpinButtonXmlHandler() @@ -98,4 +98,4 @@ bool wxSpinCtrlXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxSpinCtrl")); } -#endif // wxUSE_SPINCTRL +#endif // wxUSE_XRC && wxUSE_SPINCTRL