From 7b648cc963437dc02169d9c81e5e18a5be95ad2c Mon Sep 17 00:00:00 2001 From: Steven Janzou Date: Fri, 13 Oct 2023 04:27:37 -0600 Subject: [PATCH] Update Compare to not force containers first --- src/metro.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/metro.cpp b/src/metro.cpp index c33dcdcf..68153990 100644 --- a/src/metro.cpp +++ b/src/metro.cpp @@ -2073,13 +2073,13 @@ int wxMetroDataViewTreeStore::Compare(const wxDataViewItem& item1, const wxDataV wxCHECK_MSG(node2->GetParent() == parent, 0, wxS("Comparing items with different parent.")); - +/* if (node1->IsContainer() && !node2->IsContainer()) return -1; if (node2->IsContainer() && !node1->IsContainer()) return 1; - +*/ wxMetroDataViewTreeStoreNodes::const_iterator iter; for (iter = parent->GetChildren().begin(); iter != parent->GetChildren().end(); ++iter) {