diff --git a/tests/controls/label.cpp b/tests/controls/label.cpp index 0e193196a8..94806a8cd7 100644 --- a/tests/controls/label.cpp +++ b/tests/controls/label.cpp @@ -98,6 +98,15 @@ TEST_CASE("wxControl::Label", "[wxControl][label]") DoTestLabel(st.get()); } + SECTION("wxStaticText/ellipsized") + { + const wxScopedPtr + st(new wxStaticText(wxTheApp->GetTopWindow(), wxID_ANY, ORIGINAL_LABEL, + wxDefaultPosition, wxDefaultSize, + wxST_ELLIPSIZE_START)); + DoTestLabel(st.get()); + } + SECTION("wxGenericStaticText") { const wxScopedPtr