Merge branch 'tree-search'

Don't find hidden items when using incremental tree search.

See #24041.
This commit is contained in:
Vadim Zeitlin 2023-11-17 01:08:19 +01:00
commit 7a73044fd2
5 changed files with 43 additions and 38 deletions

View file

@ -370,6 +370,13 @@ private:
// operation.
void ResetFindState();
// Find the next item, either looking inside the collapsed items or not.
enum
{
Next_Any = 0,
Next_Visible = 1
};
wxTreeItemId DoGetNext(const wxTreeItemId& item, int flags = 0) const;
// True if we're using custom colours/font, respectively, or false if we're
// using the default colours and should update them whenever system colours