From bfbd873bfea67471e70a2278440065a39f4c25be Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 16 Dec 2011 19:57:17 +0000 Subject: [PATCH] Don't use wxTE_DONTWRAP style in Lines() wxTextCtrl unit case. The last check in this test couldn't pass under MSW as it relied on the (long) line of text being wrapped but the style used for the control prevented this from happening. Not sure how could it have ever worked before but in any case removing wxTE_DONTWRAP does make the test pass. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/controls/textctrltest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/controls/textctrltest.cpp b/tests/controls/textctrltest.cpp index 1c001d3ac2..4ab4e82367 100644 --- a/tests/controls/textctrltest.cpp +++ b/tests/controls/textctrltest.cpp @@ -390,7 +390,7 @@ void TextCtrlTestCase::Lines() { delete m_text; m_text = new wxTextCtrl(wxTheApp->GetTopWindow(), wxID_ANY, "", - wxDefaultPosition, wxSize(400, 200), wxTE_MULTILINE | wxTE_DONTWRAP); + wxDefaultPosition, wxSize(400, 200), wxTE_MULTILINE); m_text->SetValue("line1\nline2\nlong long line 3"); m_text->Refresh(); -- 2.45.2