#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()
return IsOfClass(node, wxT("wxSpinCtrl"));
}
-#endif // wxUSE_SPINCTRL
+#endif // wxUSE_XRC && wxUSE_SPINCTRL