Update the text hint display correctly when ChangeValue() is called.
wxTextEntry::ChangeValue() doesn't generate any events so we need to explicitly update the text stored by wxTextEntryHintData when it is called to ensure that it corresponds to the real controls value. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,8 +38,7 @@ public:
|
||||
// SetValue() generates a text change event, ChangeValue() doesn't
|
||||
virtual void SetValue(const wxString& value)
|
||||
{ DoSetValue(value, SetValue_SendEvent); }
|
||||
virtual void ChangeValue(const wxString& value)
|
||||
{ DoSetValue(value, SetValue_NoEvent); }
|
||||
virtual void ChangeValue(const wxString& value);
|
||||
|
||||
// writing text inserts it at the current position replacing any current
|
||||
// selection, appending always inserts it at the end and doesn't remove any
|
||||
|
Reference in New Issue
Block a user