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:
@@ -61,9 +61,6 @@ public:
|
||||
// accessors
|
||||
// ---------
|
||||
virtual wxString GetValue() const;
|
||||
virtual void SetValue(const wxString& value);
|
||||
|
||||
virtual void ChangeValue(const wxString &value);
|
||||
|
||||
virtual int GetLineLength(long lineNo) const;
|
||||
virtual wxString GetLineText(long lineNo) const;
|
||||
@@ -187,13 +184,15 @@ public:
|
||||
|
||||
wxMacTextControl * GetPeer() const
|
||||
{ return (wxMacTextControl*) m_peer; }
|
||||
|
||||
|
||||
protected:
|
||||
// common part of all ctors
|
||||
void Init();
|
||||
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
|
||||
virtual void DoSetValue(const wxString& value, int flags = 0);
|
||||
|
||||
bool m_editable;
|
||||
|
||||
// flag is set to true when the user edits the controls contents
|
||||
@@ -201,17 +200,17 @@ protected:
|
||||
|
||||
// need to make this public because of the current implementation via callbacks
|
||||
unsigned long m_maxLength;
|
||||
|
||||
bool GetTriggerOnSetValue() const
|
||||
{
|
||||
return m_triggerOnSetValue;
|
||||
|
||||
bool GetTriggerOnSetValue() const
|
||||
{
|
||||
return m_triggerOnSetValue;
|
||||
}
|
||||
|
||||
void SetTriggerOnSetValue(bool trigger)
|
||||
{
|
||||
m_triggerOnSetValue = trigger;
|
||||
|
||||
void SetTriggerOnSetValue(bool trigger)
|
||||
{
|
||||
m_triggerOnSetValue = trigger;
|
||||
}
|
||||
|
||||
|
||||
bool m_triggerOnSetValue ;
|
||||
|
||||
private :
|
||||
|
Reference in New Issue
Block a user