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:
@@ -202,6 +202,11 @@ void TextCtrlTestCase::ReadOnly()
|
|||||||
// SetEditable() is supposed to override wxTE_READONLY
|
// SetEditable() is supposed to override wxTE_READONLY
|
||||||
m_text->SetEditable(true);
|
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");
|
sim.Text("abcdef");
|
||||||
wxYield();
|
wxYield();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user