]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_split.cpp
remove the selection when SetSelection(-1) is called instead of asserting (as documented)
[wxWidgets.git] / src / xrc / xh_split.cpp
index d9b2597896e788dab66597dca8a00e3e90115238..948b241ec19f720a5054d8d5cf9c21d54780ce70 100644 (file)
@@ -19,7 +19,7 @@
     #pragma hdrstop
 #endif
 
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
 
 #include "wx/xrc/xh_split.h"
 #include "wx/splitter.h"
@@ -105,4 +105,4 @@ bool wxSplitterWindowXmlHandler::CanHandle(wxXmlNode *node)
      return IsOfClass(node, wxT("wxSplitterWindow"));
 }
 
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC