allowing the suppression of SetValue event-triggering (needed for composite controls)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user