From: Vadim Zeitlin Date: Mon, 24 Jan 2000 15:36:17 +0000 (+0000) Subject: refresh after sort - patch from Ricky Gonzales X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/af7c10525665b1ba380f3d6be444431d44718948?ds=inline refresh after sort - patch from Ricky Gonzales git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index f5afd68151..62c3aa3787 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -2553,6 +2553,7 @@ void wxListMainWindow::SortItems( wxListCtrlCompare fn, long data ) list_ctrl_compare_func_2 = fn; list_ctrl_compare_data = data; m_lines.Sort( list_ctrl_compare_func_1 ); + m_dirty = TRUE; } void wxListMainWindow::OnScroll(wxScrollWinEvent& event)