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
This commit is contained in:
committed by
Vadim Zeitlin
parent
9c16a3748e
commit
537b2c3bb0
@@ -496,7 +496,6 @@ void TextCtrlTestCase::Style()
|
|||||||
|
|
||||||
void TextCtrlTestCase::FontStyle()
|
void TextCtrlTestCase::FontStyle()
|
||||||
{
|
{
|
||||||
#if !defined(__WXQT__)
|
|
||||||
// We need wxTE_RICH under MSW and wxTE_MULTILINE under GTK for style
|
// We need wxTE_RICH under MSW and wxTE_MULTILINE under GTK for style
|
||||||
// support so recreate the control with these styles.
|
// support so recreate the control with these styles.
|
||||||
delete m_text;
|
delete m_text;
|
||||||
@@ -547,9 +546,6 @@ void TextCtrlTestCase::FontStyle()
|
|||||||
fontOut.SetEncoding(fontIn.GetEncoding());
|
fontOut.SetEncoding(fontIn.GetEncoding());
|
||||||
#endif
|
#endif
|
||||||
CPPUNIT_ASSERT_EQUAL( fontIn, fontOut );
|
CPPUNIT_ASSERT_EQUAL( fontIn, fontOut );
|
||||||
#else
|
|
||||||
WARN("Does not work under WxQt");
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void TextCtrlTestCase::Lines()
|
void TextCtrlTestCase::Lines()
|
||||||
|
Reference in New Issue
Block a user