]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/splitter.cpp
move Ellipsize() to wxControl so it can be easily used by other controls
[wxWidgets.git] / src / generic / splitter.cpp
index fd10afdde2f0bb5030ae30f02e4091dd3c510690..444304ae32c0d36f978f0a3dc2e393d7727dab4f 100644 (file)
@@ -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())