X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e181c7a2c32193fc8138cc32ed07984eadd4a21..55410bb4f67febe1ca20654f078ea4fb9a6223ae:/src/osx/textctrl_osx.cpp diff --git a/src/osx/textctrl_osx.cpp b/src/osx/textctrl_osx.cpp index feda0352d3..cc5ac72d18 100644 --- a/src/osx/textctrl_osx.cpp +++ b/src/osx/textctrl_osx.cpp @@ -157,7 +157,7 @@ void wxTextCtrl::MacCheckSpelling(bool check) GetTextPeer()->CheckSpelling(check); } -wxString wxTextCtrl::GetValue() const +wxString wxTextCtrl::DoGetValue() const { return GetTextPeer()->GetStringValue() ; } @@ -290,7 +290,7 @@ void wxTextCtrl::SetInsertionPoint(long pos) void wxTextCtrl::SetInsertionPointEnd() { - wxTextPos pos = GetLastPosition(); + long pos = GetLastPosition(); SetInsertionPoint( pos ); } @@ -767,7 +767,7 @@ void wxTextWidgetImpl::SetEditable(bool WXUNUSED(editable)) { } -wxTextPos wxTextWidgetImpl::GetLastPosition() const +long wxTextWidgetImpl::GetLastPosition() const { return GetStringValue().length() ; }