]> git.saurik.com Git - wxWidgets.git/commit - include/wx/headercol.h
- Rewrite wxHeaderCtrl to be virtual-like: even if we don't need an infinite
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Dec 2008 14:47:55 +0000 (14:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Dec 2008 14:47:55 +0000 (14:47 +0000)
commite2bfe6731edfca732418012b03438db85b4aa0dd
tree216774012fca51f0a34008dd21f260f63ab3909e
parentbc0289bf5e29def4ba504807e45d6b7daf917fad
- Rewrite wxHeaderCtrl to be virtual-like: even if we don't need an infinite
  number of columns in it, it turns out that getting column information from
  the associated control is much easier than copying it into the control.
- Provide wxHeaderCtrlSimple derived class which can be used easily if
  callback approach of wxHeaderCtrl is not needed.
- Because of wxHeaderCtrl virtualization, port-specific implementations of
  wxHeaderColumn are not needed any more and were removed.
- Use wxHeaderCtrl in the generic wxDataViewCtrl: this means that column
  events are broken right now in it as they haven't been implemented by
  wxHeaderCtrl yet, this will be fixed a.s.a.p.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
30 files changed:
Makefile.in
build/bakefiles/files.bkl
build/msw/makefile.bcc
build/msw/makefile.gcc
build/msw/makefile.vc
build/msw/makefile.wat
build/msw/wx_core.dsp
build/msw/wx_vc7_core.vcproj
build/msw/wx_vc8_core.vcproj
build/msw/wx_vc9_core.vcproj
include/wx/dataview.h
include/wx/generic/dataview.h
include/wx/generic/headercolg.h [deleted file]
include/wx/generic/headerctrlg.h
include/wx/gtk/dataview.h
include/wx/headercol.h
include/wx/headerctrl.h
include/wx/msw/headercol.h [deleted file]
include/wx/msw/headerctrl.h
interface/wx/headercol.h
interface/wx/headerctrl.h
src/common/datavcmn.cpp
src/common/headerctrlcmn.cpp
src/generic/datavgen.cpp
src/generic/headercolg.cpp [deleted file]
src/generic/headerctrlg.cpp
src/gtk/dataview.cpp
src/msw/headercol.cpp [deleted file]
src/msw/headerctrl.cpp
tests/controls/headerctrltest.cpp