X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cabf4bca21709a501ca1fe13311744b3830bf28c..04fa04d8067d235ab45b5bc05b65f0679634b541:/src/xrc/xh_split.cpp diff --git a/src/xrc/xh_split.cpp b/src/xrc/xh_split.cpp index fd21911808..e14300f4f9 100644 --- a/src/xrc/xh_split.cpp +++ b/src/xrc/xh_split.cpp @@ -87,7 +87,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)