From 39a18da1a8090ea49c224bd5319f452d86e69100 Mon Sep 17 00:00:00 2001 From: Steve Lamerton Date: Sun, 20 Jan 2013 19:28:20 +0000 Subject: [PATCH] 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 --- tests/controls/richtextctrltest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.47.2