From ff7bc95e6f6908208723abb5c8fe1a2c05b6a664 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 21 Jul 2011 13:50:17 +0000 Subject: [PATCH] Send wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED for generic version too. Send this event when the column used for sorting changed in the generic implementation of wxDataViewCtrl too. Closes #13005. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/datavgen.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/generic/datavgen.cpp b/src/generic/datavgen.cpp index c5b8d9d37d..bdc389ad66 100644 --- a/src/generic/datavgen.cpp +++ b/src/generic/datavgen.cpp @@ -214,6 +214,8 @@ private: model->Resort(); owner->OnColumnChange(idx); + + SendEvent(wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED, idx); } void OnRClick(wxHeaderCtrlEvent& event)