]> git.saurik.com Git - wxWidgets.git/commit - samples/listctrl/listtest.cpp
Fix toggling the header in the generic wxListCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 6 Mar 2010 00:31:00 +0000 (00:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 6 Mar 2010 00:31:00 +0000 (00:31 +0000)
commit1bab36277c418507195638ace24ea9cedc78391c
tree9c22732594dff1b5c12ded233f71cb2af06b2e94
parent98e956503de9035a6c4ef529da7e377b74d59b69
Fix toggling the header in the generic wxListCtrl.

We need to update the lfags first before deciding whether we should create or
destroy the header.

Also add a test for toggling the header to the listctrl sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/listctrl/listtest.cpp
samples/listctrl/listtest.h
src/generic/listctrl.cpp