wxUniv compilation fixes after wxTextEntry::DoGetValue() change

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-03-02 13:58:42 +00:00
parent 0208a9a31b
commit 3373e90070
4 changed files with 6 additions and 5 deletions

View File

@ -91,7 +91,7 @@ public:
// implement the combobox interface
// wxTextCtrl methods
virtual wxString GetValue() const;
virtual wxString GetValue() const { return DoGetValue(); }
virtual void SetValue(const wxString& value);
virtual void WriteText(const wxString& value);
virtual void Copy();
@ -151,6 +151,8 @@ public:
virtual void SetClientDataType(wxClientDataType clientDataItemsType);
protected:
virtual wxString DoGetValue() const;
virtual int DoInsertItems(const wxArrayStringsAdapter& items,
unsigned int pos,
void **clientData, wxClientDataType type);

View File

@ -104,8 +104,6 @@ public:
// implement base class pure virtuals
// ----------------------------------
virtual wxString GetValue() const;
virtual int GetLineLength(wxTextCoord lineNo) const;
virtual wxString GetLineText(wxTextCoord lineNo) const;
virtual int GetNumberOfLines() const;
@ -260,6 +258,7 @@ protected:
// implements Set/ChangeValue()
virtual void DoSetValue(const wxString& value, int flags = 0);
virtual wxString DoGetValue() const;
// common part of all ctors
void Init();

View File

@ -273,7 +273,7 @@ wxComboBox::~wxComboBox()
// wxComboBox methods forwarded to wxTextCtrl
// ----------------------------------------------------------------------------
wxString wxComboBox::GetValue() const
wxString wxComboBox::DoGetValue() const
{
return wxComboCtrl::GetValue();
}

View File

@ -819,7 +819,7 @@ size_t wxTextCtrl::GetLineCount() const
return MData().m_lines.GetCount();
}
wxString wxTextCtrl::GetValue() const
wxString wxTextCtrl::DoGetValue() const
{
// for multiline controls we don't always store the total value but only
// recompute it when asked - and to invalidate it we just empty it in