]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_split.cpp
Implemented forceTrueColour in SetBestVisual.
[wxWidgets.git] / src / xrc / xh_split.cpp
index f1dc8312461ab513580ddb88cf9abe5c9ac9fa41..be23b871f5dbf5e8e32b2761d0da5e9362c4a4b4 100644 (file)
@@ -15,7 +15,7 @@
     #pragma hdrstop
 #endif
 
-#if wxUSE_XRC
+#if wxUSE_XRC && wxUSE_SPLITTER
 
 #include "wx/xrc/xh_split.h"
 
@@ -107,4 +107,4 @@ bool wxSplitterWindowXmlHandler::CanHandle(wxXmlNode *node)
      return IsOfClass(node, wxT("wxSplitterWindow"));
 }
 
-#endif // wxUSE_XRC
+#endif // wxUSE_XRC && wxUSE_SPLITTER