]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_scrol.cpp
use HasTransparentBackground() to correctly draw the background of static text/box...
[wxWidgets.git] / src / xrc / xh_scrol.cpp
index f1c6fcba19d446772e6b988d8f8ca164819c604c..bbb52bdbd2a8f32c5828e633fb36acccc5fd11f5 100644 (file)
@@ -19,6 +19,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_XRC && wxUSE_SCROLLBAR
+
 #include "wx/xrc/xh_scrol.h"
 #include "wx/scrolbar.h"
 
@@ -58,3 +60,5 @@ bool wxScrollBarXmlHandler::CanHandle(wxXmlNode *node)
 {
     return IsOfClass(node, wxT("wxScrollBar"));
 }
+
+#endif // wxUSE_XRC && wxUSE_SCROLLBAR