osx needs a refocus

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2013-06-12 21:30:38 +00:00
parent 2ec5dba394
commit 64fd19dbac

View File

@@ -202,6 +202,11 @@ void TextCtrlTestCase::ReadOnly()
// SetEditable() is supposed to override wxTE_READONLY
m_text->SetEditable(true);
#ifdef __WXOSX__
// a ready only text field might not have been focusable at all
m_text->SetFocus();
#endif
sim.Text("abcdef");
wxYield();