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

@@ -1532,6 +1532,10 @@ public:
// only the display and hit testing code really cares about display
// positions at all
// set the positions of all columns at once (this method uses the same
// conventions as wxHeaderCtrl::SetColumnsOrder() for the order array)
void SetColumnsOrder(const wxArrayInt& order);
// return the column index corresponding to the given (valid) position
int GetColAt(int pos) const
{