added wxHeaderCtrl::ResetColumnsOrder() function; use it from wxGrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6883,6 +6883,11 @@ void wxGrid::SetColPos(int idx, int pos)
|
||||
void wxGrid::ResetColPos()
|
||||
{
|
||||
m_colAt.clear();
|
||||
|
||||
if ( m_useNativeHeader )
|
||||
GetColHeader()->ResetColumnsOrder();
|
||||
else
|
||||
m_colWindow->Refresh();
|
||||
}
|
||||
|
||||
void wxGrid::EnableDragColMove( bool enable )
|
||||
|
Reference in New Issue
Block a user