// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
-#pragma implementation "xh_spin.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#pragma hdrstop
#endif
-#if wxUSE_XRC && wxUSE_SPINBTN
+#if wxUSE_XRC
#include "wx/xrc/xh_spin.h"
-#include "wx/spinctrl.h"
+
+#if wxUSE_SPINBTN
+
+#include "wx/spinbutt.h"
IMPLEMENT_DYNAMIC_CLASS(wxSpinButtonXmlHandler, wxXmlResourceHandler)
#if wxUSE_SPINCTRL
+#include "wx/spinctrl.h"
+
IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrlXmlHandler, wxXmlResourceHandler)
wxSpinCtrlXmlHandler::wxSpinCtrlXmlHandler()
return IsOfClass(node, wxT("wxSpinCtrl"));
}
-#endif // wxUSE_XRC && wxUSE_SPINCTRL
+#endif // wxUSE_SPINCTRL
+
+#endif // wxUSE_XRC