added wxGrid::SetColumnsOrder() too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-12-16 15:53:38 +00:00
parent 5801b3ec87
commit 31ec8b4e15
3 changed files with 20 additions and 1 deletions

View File

@@ -2305,6 +2305,15 @@ public:
*/
void SetColPos(int colID, int newPos);
/**
Sets the positions of all columns at once.
This method takes an array containing the indices of the columns in
their display order, i.e. uses the same convention as
wxHeaderCtrl::SetColumnsOrder().
*/
void SetColumnsOrder(const wxArrayInt& order);
/**
Resets the position of the columns to the default.
*/