]> git.saurik.com Git - wxWidgets.git/commitdiff
refresh after sort - patch from Ricky Gonzales
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 24 Jan 2000 15:36:17 +0000 (15:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 24 Jan 2000 15:36:17 +0000 (15:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/listctrl.cpp

index f5afd681511ecb053f39627ac1bc6566ccf752c4..62c3aa3787852c466c34dd736cecb44ca72585b2 100644 (file)
@@ -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)