X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c23edb1b71ea45178dd9f4628ab35c3d88d2f8ec..2ab38025228005fd3d5b43b641c825806ac9abbc:/include/wx/listbase.h?ds=inline diff --git a/include/wx/listbase.h b/include/wx/listbase.h index fe247e8299..4aa0d5f046 100644 --- a/include/wx/listbase.h +++ b/include/wx/listbase.h @@ -16,6 +16,7 @@ #include "wx/font.h" #include "wx/gdicmn.h" #include "wx/event.h" +#include "wx/control.h" class WXDLLIMPEXP_FWD_CORE wxImageList; @@ -424,7 +425,7 @@ public: long InsertColumn(long col, const wxString& heading, int format = wxLIST_FORMAT_LEFT, - int width = -1); + int width = wxLIST_AUTOSIZE); // Delete the given or all columns. virtual bool DeleteColumn(int col) = 0; @@ -453,6 +454,10 @@ public: bool InReportView() const { return HasFlag(wxLC_REPORT); } bool IsVirtual() const { return HasFlag(wxLC_VIRTUAL); } + // Enable or disable beep when incremental match doesn't find any item. + // Only implemented in the generic version currently. + virtual void EnableBellOnNoMatch(bool WXUNUSED(on) = true) { } + protected: // Real implementations methods to which our public forwards. virtual long DoInsertColumn(long col, const wxListItem& info) = 0;