Fix the prepocessor directive, from __WXOSX_COCOA__ to __WXOSX__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -203,7 +203,7 @@ 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);
|
||||||
|
|
||||||
#if defined(__WXOSX_COCOA__) || defined(__WXUNIVERSAL__)
|
#if defined(__WXOSX__) || defined(__WXUNIVERSAL__)
|
||||||
// a ready only text field might not have been focusable at all
|
// a ready only text field might not have been focusable at all
|
||||||
m_text->SetFocus();
|
m_text->SetFocus();
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user