diff --git a/tests/controls/label.cpp b/tests/controls/label.cpp index 5944966c2d..3b52fb02f6 100644 --- a/tests/controls/label.cpp +++ b/tests/controls/label.cpp @@ -25,6 +25,8 @@ #include "wx/scopedptr.h" #include "wx/stattext.h" +#include "wx/generic/stattextg.h" + namespace { @@ -101,6 +103,13 @@ TEST_CASE("wxControl::Label", "[wxControl][label]") DoTestLabel(st.get()); } + SECTION("wxGenericStaticText") + { + const wxScopedPtr + gst(new wxGenericStaticText(wxTheApp->GetTopWindow(), wxID_ANY, ORIGINAL_LABEL)); + DoTestLabel(gst.get()); + } + SECTION("wxCheckBox") { const wxScopedPtr