From 537b2c3bb0170853877b3f1fb350347df2b57332 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Wed, 23 Jan 2019 13:08:30 +0000 Subject: [PATCH] Reinstate wxTextCtrl unit test previously disabled for wxQt This test was fixed by earlier changes to wxQt font styles and passes now. Closes https://github.com/wxWidgets/wxWidgets/pull/1169 --- tests/controls/textctrltest.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/controls/textctrltest.cpp b/tests/controls/textctrltest.cpp index 10b2795f37..6972b6b1c6 100644 --- a/tests/controls/textctrltest.cpp +++ b/tests/controls/textctrltest.cpp @@ -496,7 +496,6 @@ void TextCtrlTestCase::Style() void TextCtrlTestCase::FontStyle() { -#if !defined(__WXQT__) // We need wxTE_RICH under MSW and wxTE_MULTILINE under GTK for style // support so recreate the control with these styles. delete m_text; @@ -547,9 +546,6 @@ void TextCtrlTestCase::FontStyle() fontOut.SetEncoding(fontIn.GetEncoding()); #endif CPPUNIT_ASSERT_EQUAL( fontIn, fontOut ); -#else - WARN("Does not work under WxQt"); -#endif } void TextCtrlTestCase::Lines()