X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c7453fba64c38ce3f8c938b068bb3a94323fc6bb..01283acee2cbaa0eb6ab88a50bebd2e82b11f0bb:/interface/wx/treectrl.h diff --git a/interface/wx/treectrl.h b/interface/wx/treectrl.h index 4587dfa9de..db418931e0 100644 --- a/interface/wx/treectrl.h +++ b/interface/wx/treectrl.h @@ -158,7 +158,7 @@ @library{wxcore} @category{ctrl} - @appearance{treectrl.png} + @appearance{treectrl} @see wxDataViewTreeCtrl, wxTreeEvent, wxTreeItemData, @ref overview_treectrl, wxListBox, wxListCtrl, wxImageList @@ -339,6 +339,18 @@ public: virtual wxTextCtrl *EditLabel(const wxTreeItemId& item, wxClassInfo* textCtrlClass = wxCLASSINFO(wxTextCtrl)); + /** + Enable or disable a beep if there is no match for the currently + entered text when searching for the item from keyboard. + + The default is to not beep in this case except in wxMSW where the + beep is always generated by the native control and cannot be disabled, + i.e. calls to this function do nothing there. + + @since 2.9.5 + */ + void EnableBellOnNoMatch(bool on = true); + /** Ends label editing. If @a cancelEdit is @true, the edit will be cancelled. @@ -1043,7 +1055,7 @@ public: The state image has been clicked. @endEventTable - @library{wxbase} + @library{wxcore} @category{events} @see wxTreeCtrl