[ 1560860 ] wxComboCtrl EVT_TEXT filtering.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2006-09-23 09:04:25 +00:00
parent 25dff19c97
commit ce9685190e
3 changed files with 40 additions and 2 deletions

View File

@@ -199,6 +199,10 @@ public:
// (ie. wxComboPopup::SetStringValue doesn't get called).
void SetText(const wxString& value);
// This method sets value and also optionally sends EVT_TEXT
// (needed by combo popups)
void SetValueWithEvent(const wxString& value, bool withEvent = true);
//
// Popup customization methods
//
@@ -522,6 +526,8 @@ protected:
private:
void Init();
wxByte m_ignoreEvtText; // Number of next EVT_TEXTs to ignore
DECLARE_EVENT_TABLE()
DECLARE_ABSTRACT_CLASS(wxComboCtrlBase)