added wxRearrange{List,Ctrl,Dialog} and use it in wxHeaderCtrl and wxGrid to provide a way to interactively customize the columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -278,6 +278,14 @@ private:
|
||||
GetOwner()->SendEvent(wxEVT_GRID_COL_SIZE, -1, idx);
|
||||
}
|
||||
|
||||
// overridden to react to the columns order changes in the customization
|
||||
// dialog
|
||||
virtual void UpdateColumnsOrder(const wxArrayInt& order)
|
||||
{
|
||||
GetOwner()->SetColumnsOrder(order);
|
||||
}
|
||||
|
||||
|
||||
// event handlers forwarding wxHeaderCtrl events to wxGrid
|
||||
void OnClick(wxHeaderCtrlEvent& event)
|
||||
{
|
||||
|
Reference in New Issue
Block a user