From 33b3ade5031832ed833c4e118ca4de724bbe7465 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 2 Mar 2009 19:17:42 +0000 Subject: [PATCH] wxOSX build fix after wxTextEntry::GetValue() renaming to DoGetValue() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/osx/textctrl.h | 2 +- src/osx/textctrl_osx.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/osx/textctrl.h b/include/wx/osx/textctrl.h index df6967f9ab..749220e843 100644 --- a/include/wx/osx/textctrl.h +++ b/include/wx/osx/textctrl.h @@ -63,7 +63,6 @@ public: // accessors // --------- - virtual wxString GetValue() const; virtual int GetLineLength(long lineNo) const; virtual wxString GetLineText(long lineNo) const; @@ -178,6 +177,7 @@ protected: virtual wxSize DoGetBestSize() const; virtual void DoSetValue(const wxString& value, int flags = 0); + virtual wxString DoGetValue() const; bool m_editable; diff --git a/src/osx/textctrl_osx.cpp b/src/osx/textctrl_osx.cpp index 9ace17a932..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() ; } -- 2.45.2