]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_split.cpp
Recognize VC12 (a.k.a. MSVS 2013) and define __VISUALC12__ for it.
[wxWidgets.git] / src / xrc / xh_split.cpp
index fd219118089c2eb66f37ec5e7bd899e62910b6d7..7e3175c657e55dbaf1bc2d3fae5f688ce75c7b1a 100644 (file)
@@ -25,6 +25,8 @@
 
 #include "wx/splitter.h"
 
+#include "wx/xml/xml.h"
+
 IMPLEMENT_DYNAMIC_CLASS(wxSplitterWindowXmlHandler, wxXmlResourceHandler)
 
 wxSplitterWindowXmlHandler::wxSplitterWindowXmlHandler() : wxXmlResourceHandler()
@@ -87,7 +89,7 @@ wxObject *wxSplitterWindowXmlHandler::DoCreateResource()
     }
 
     if (win1 == NULL)
-        wxLogError(wxT("wxSplitterWindow node must contain at least one window."));
+        ReportError("wxSplitterWindow node must contain at least one window");
 
     bool horizontal = (GetParamValue(wxT("orientation")) != wxT("vertical"));
     if (win1 && win2)