X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94248d2ed19bb207a49cf1a5bd9bfea0fd04760b..ae8079a2109cc4cfe27fe5de16679726dd7660ca:/include/wx/listbase.h diff --git a/include/wx/listbase.h b/include/wx/listbase.h index 85450e236c..e559493b9f 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; @@ -410,6 +411,13 @@ public: // All these methods can only be used in report view mode. + // Appends a new column. + // + // Returns the index of the newly inserted column or -1 on error. + long AppendColumn(const wxString& heading, + int format = wxLIST_FORMAT_LEFT, + int width = -1); + // Add a new column to the control at the position "col". // // Returns the index of the newly inserted column or -1 on error. @@ -417,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;