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:
@@ -278,7 +278,6 @@ private:
|
||||
GetOwner()->SendEvent(wxEVT_GRID_COL_SIZE, -1, idx);
|
||||
}
|
||||
|
||||
|
||||
// event handlers forwarding wxHeaderCtrl events to wxGrid
|
||||
void OnClick(wxHeaderCtrlEvent& event)
|
||||
{
|
||||
@@ -6885,6 +6884,13 @@ void wxGrid::RefreshAfterColPosChange()
|
||||
m_gridWin->Refresh();
|
||||
}
|
||||
|
||||
void wxGrid::SetColumnsOrder(const wxArrayInt& order)
|
||||
{
|
||||
m_colAt = order;
|
||||
|
||||
RefreshAfterColPosChange();
|
||||
}
|
||||
|
||||
void wxGrid::SetColPos(int idx, int pos)
|
||||
{
|
||||
// we're going to need m_colAt now, initialize it if needed
|
||||
|
Reference in New Issue
Block a user