X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4275201ba367f20086d88402f092709041436e34..a516284f67e1910fc6dc5364b289340332d0d35f:/include/wx/textentry.h diff --git a/include/wx/textentry.h b/include/wx/textentry.h index 99018a9488..3fadbd0322 100644 --- a/include/wx/textentry.h +++ b/include/wx/textentry.h @@ -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 @@ -279,6 +278,10 @@ private: // hint-related stuff, only allocated if/when SetHint() is used wxTextEntryHintData *m_hintData; + + // It needs to call our Do{Get,Set}Value() to work with the real control + // contents. + friend class wxTextEntryHintData; }; #ifdef __WXUNIVERSAL__