moved DoSetValue() to wxTextCtrlBase instead of having it in almost, but not quite all, derived classes; linking fixes for wxCocoa/wxX11/wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -116,10 +116,6 @@ public:
|
||||
// implement base class pure virtuals
|
||||
// ----------------------------------
|
||||
|
||||
virtual wxString GetValue() const;
|
||||
virtual void SetValue(const wxString& value)
|
||||
{ ChangeValue(value); SendTextUpdatedEvent(); }
|
||||
|
||||
virtual void ChangeValue(const wxString &value);
|
||||
|
||||
virtual int GetLineLength(long lineNo) const;
|
||||
@@ -132,10 +128,6 @@ public:
|
||||
// more readable flag testing methods
|
||||
// ----------------------------------
|
||||
|
||||
#if 0
|
||||
// it seems now in wxTextCtrlBase
|
||||
bool IsSingleLine() const { return !(GetWindowStyle() & wxTE_MULTILINE); }
|
||||
#endif
|
||||
bool IsPassword() const { return (GetWindowStyle() & wxTE_PASSWORD) != 0; }
|
||||
bool WrapLines() const { return false; }
|
||||
|
||||
@@ -274,6 +266,8 @@ protected:
|
||||
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
|
||||
virtual void DoSetValue(const wxString& value, int flags = 0);
|
||||
|
||||
friend class wxSourceUndoStep;
|
||||
|
||||
wxSourceLineArray m_lines;
|
||||
|
Reference in New Issue
Block a user