From 9d3b8ba33932d2823fc80729a0086dced22c9550 Mon Sep 17 00:00:00 2001 From: Ian McInerney Date: Fri, 9 Feb 2024 18:35:53 +0100 Subject: [PATCH] Test short labels in the listctrl sample too This allows to easily verify that they work correctly in the icon view. See #24292. --- samples/listctrl/listtest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samples/listctrl/listtest.cpp b/samples/listctrl/listtest.cpp index e08687d867..1d3e652a6d 100644 --- a/samples/listctrl/listtest.cpp +++ b/samples/listctrl/listtest.cpp @@ -650,6 +650,8 @@ void MyFrame::InitWithIconItems(bool withText, bool sameIcon) wxString label; if ( !(i % 5) ) label.Printf("Longer label %d", i); + else if ( !(i % 4) ) + label.Printf("#%d", i); else label.Printf("Label %d", i);