diff --git a/src/mac/carbon/textctrl.cpp b/src/mac/carbon/textctrl.cpp index 42a7d30c28..7b1142a3ce 100644 --- a/src/mac/carbon/textctrl.cpp +++ b/src/mac/carbon/textctrl.cpp @@ -1588,6 +1588,7 @@ void wxMacUnicodeTextControl::WriteText( const wxString& str ) CFStringRef value = cf ; SetData( 0, kControlEditTextInsertCFStringRefTag, &value ); } + else #endif { wxString val = GetStringValue() ;