Implement incremental search in wxGenericListCtrl.
Mostly copy wxGenericTreeCtrl incremental search implementation to wxGenericListCtrl (unfortunately there is no simple way to reuse this code currently), including the recently added EnableBellOnNoMatch() method. Update the sample to test it, the key event handling in it had to be modified to allow it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -147,6 +147,7 @@ protected:
|
||||
void OnThaw(wxCommandEvent& event);
|
||||
void OnToggleLines(wxCommandEvent& event);
|
||||
void OnToggleHeader(wxCommandEvent& event);
|
||||
void OnToggleBell(wxCommandEvent& event);
|
||||
#ifdef __WXOSX__
|
||||
void OnToggleMacUseGeneric(wxCommandEvent& event);
|
||||
#endif // __WXOSX__
|
||||
@@ -219,6 +220,7 @@ enum
|
||||
LIST_SET_BG_COL,
|
||||
LIST_TOGGLE_MULTI_SEL,
|
||||
LIST_TOGGLE_HEADER,
|
||||
LIST_TOGGLE_BELL,
|
||||
LIST_TOGGLE_FIRST,
|
||||
LIST_SHOW_COL_INFO,
|
||||
LIST_SHOW_SEL_INFO,
|
||||
|
Reference in New Issue
Block a user