From c40871e8cec0464cf1b823585552cd69fb0ed20f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 23 Sep 2014 17:39:50 +0000 Subject: [PATCH] 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 --- tests/controls/textctrltest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/controls/textctrltest.cpp b/tests/controls/textctrltest.cpp index 339cfc1ac0..57421088c4 100644 --- a/tests/controls/textctrltest.cpp +++ b/tests/controls/textctrltest.cpp @@ -203,7 +203,7 @@ void TextCtrlTestCase::ReadOnly() // SetEditable() is supposed to override wxTE_READONLY 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 m_text->SetFocus(); #endif