X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de0bc9329859a177208e36d8f0dee48cc90273c9..e9b964cfe591532f21c31204032357899cc2cbad:/src/mac/textctrl.cpp diff --git a/src/mac/textctrl.cpp b/src/mac/textctrl.cpp index a28eb9241c..ad911c3987 100644 --- a/src/mac/textctrl.cpp +++ b/src/mac/textctrl.cpp @@ -1316,10 +1316,6 @@ void wxTextCtrl::AppendText(const wxString& text) void wxTextCtrl::Clear() { - if ( !IsEditable() ) - { - return ; - } if ( !m_macUsesTXN ) { ::SetControlData((ControlHandle) m_macControl, 0, ( m_windowStyle & wxTE_PASSWORD ) ? kControlEditTextPasswordTag : kControlEditTextTextTag , 0 , (char*) ((const char*)NULL) ) ;