X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04ee05f92add0ab92ce08ecb827e3be41336aa06..c9c023ddeb1ba8d5c50b8a2d7718b1dd18665b2b:/src/generic/splitter.cpp diff --git a/src/generic/splitter.cpp b/src/generic/splitter.cpp index fd10afdde2..444304ae32 100644 --- a/src/generic/splitter.cpp +++ b/src/generic/splitter.cpp @@ -719,7 +719,7 @@ void wxSplitterWindow::SizeWindows() // Set pane for unsplit window void wxSplitterWindow::Initialize(wxWindow *window) { - wxASSERT_MSG( (!window || (window && window->GetParent() == this)), + wxASSERT_MSG( (!window || window->GetParent() == this), _T("windows in the splitter should have it as parent!") ); if (window && !window->IsShown())