Test short labels in the listctrl sample too

This allows to easily verify that they work correctly in the icon view.

See #24292.
This commit is contained in:
Ian McInerney 2024-02-09 18:35:53 +01:00 committed by Vadim Zeitlin
parent 82b5f85418
commit 9d3b8ba339

View file

@ -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);