Add convenient wxListCtrl::AppendColumn() wrapper.
In the vast majority of cases, columns are just appended to the end and not inserted at arbitrary positions in wxListCtrl so provide a convenient wrapper to do this, especially as it's really trivial to do it now when it can be done only once at wxListCtrlBase level. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -410,6 +410,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.
|
||||
|
Reference in New Issue
Block a user