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
This commit is contained in:
parent
be9cae51e6
commit
39a18da1a8
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue