]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_spin.cpp
construct brush used for painting disabled bitmap buttons dynamically (heavily modifi...
[wxWidgets.git] / src / xrc / xh_spin.cpp
index c6ad0fcf92b06e50422ac18aa8a3a6d63ede5fa1..73c96c7a430c85e979008eba77713318bc036832 100644 (file)
     #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