X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/717a70722efbd1931301d44344df83ec23118b7b..fa8bc37bc20613e53136f26882aee31e11bef131:/include/wx/mac/carbon/textctrl.h diff --git a/include/wx/mac/carbon/textctrl.h b/include/wx/mac/carbon/textctrl.h index a4a6dffdb2..595c3d1f8d 100644 --- a/include/wx/mac/carbon/textctrl.h +++ b/include/wx/mac/carbon/textctrl.h @@ -188,7 +188,7 @@ public: wxMacTextControl * GetPeer() const { return (wxMacTextControl*) m_peer; } - + protected: // common part of all ctors void Init(); @@ -202,6 +202,18 @@ protected: // need to make this public because of the current implementation via callbacks unsigned long m_maxLength; + + bool GetTriggerOnSetValue() const + { + return m_triggerOnSetValue; + } + + void SetTriggerOnSetValue(bool trigger) + { + m_triggerOnSetValue = trigger; + } + + bool m_triggerOnSetValue ; private : wxMenu *m_privateContextMenu;