diff --git a/src/mac/carbon/textctrl.cpp b/src/mac/carbon/textctrl.cpp index b79f2fc5d3..a289930a71 100644 --- a/src/mac/carbon/textctrl.cpp +++ b/src/mac/carbon/textctrl.cpp @@ -680,7 +680,7 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id, m_macUsesTXN &= (TXNInitTextension != (void*) kUnresolvedCFragSymbolAddress) ; // base initialization - if ( !CreateBase(parent, id, pos, size, style, validator, name) ) + if ( !wxTextCtrlBase::Create(parent, id, pos, size, style, validator, name) ) return FALSE; wxSize mySize = size ; diff --git a/src/mac/textctrl.cpp b/src/mac/textctrl.cpp index b79f2fc5d3..a289930a71 100644 --- a/src/mac/textctrl.cpp +++ b/src/mac/textctrl.cpp @@ -680,7 +680,7 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id, m_macUsesTXN &= (TXNInitTextension != (void*) kUnresolvedCFragSymbolAddress) ; // base initialization - if ( !CreateBase(parent, id, pos, size, style, validator, name) ) + if ( !wxTextCtrlBase::Create(parent, id, pos, size, style, validator, name) ) return FALSE; wxSize mySize = size ;