X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c7453fba64c38ce3f8c938b068bb3a94323fc6bb..afa9873106ea8e6ee90f8811bae4d06485e42ba6:/interface/wx/treectrl.h diff --git a/interface/wx/treectrl.h b/interface/wx/treectrl.h index 4587dfa9de..f328935b7e 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. @@ -714,7 +726,7 @@ public: virtual bool IsBold(const wxTreeItemId& item) const; /** - Returns @true if the control is empty (i.e. has no items, even no root + Returns @true if the control is empty (i.e.\ has no items, even no root one). */ bool IsEmpty() const; @@ -1043,7 +1055,7 @@ public: The state image has been clicked. @endEventTable - @library{wxbase} + @library{wxcore} @category{events} @see wxTreeCtrl