From: Steve Lamerton Date: Sun, 20 Jan 2013 19:28:20 +0000 (+0000) Subject: Pass wxWANTS_CHARS to the wxRichTextCtrl constructor in the unit tests. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/39a18da1a8090ea49c224bd5319f452d86e69100?hp=be9cae51e696b6e363446a436ea7682e0a3320ca Pass wxWANTS_CHARS to the wxRichTextCtrl constructor in the unit tests. Fixes test failures caused by the return key being used for dialog navigation. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/controls/richtextctrltest.cpp b/tests/controls/richtextctrltest.cpp index f3813de3c5..f1e1cc7ca4 100644 --- a/tests/controls/richtextctrltest.cpp +++ b/tests/controls/richtextctrltest.cpp @@ -106,7 +106,7 @@ CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( RichTextCtrlTestCase, "RichTextCtrlTestCa void RichTextCtrlTestCase::setUp() { m_rich = new wxRichTextCtrl(wxTheApp->GetTopWindow(), wxID_ANY, "", - wxDefaultPosition, wxSize(400, 200)); + wxDefaultPosition, wxSize(400, 200), wxWANTS_CHARS); } void RichTextCtrlTestCase::tearDown()