Vadim Zeitlin
e721a2a2a4
added wxUSE_HEADERCTRL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-11 00:57:08 +00:00
Vadim Zeitlin
de150f6af9
export wxSettableHeaderColumn from DLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-11 13:27:03 +00:00
Vadim Zeitlin
dcb6cbecc8
extract setters from wxHeaderColumnBase into a separate wxSettableHeaderColumn class as we don't always need to implement them in order to use this class; also renamed wxHeaderColumnBase to just wxHeaderColumn as we didn't have any wxHeaderColumn at all
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-11 13:05:48 +00:00
Vadim Zeitlin
a7d403698f
made wxHeaderColumnBase dtor virtual to avoid gcc warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 16:03:50 +00:00
Vadim Zeitlin
e2bfe6731e
- 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
2008-12-07 14:47:55 +00:00
Vadim Zeitlin
b63f9a3330
generic implementation of wxHeaderCtrl API so far
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 22:44:54 +00:00
Vadim Zeitlin
78fd3d12bc
add IsShown() accessor which is sometimes more convenient than IsHidden()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 21:49:34 +00:00
Vadim Zeitlin
bd93de46e9
disable generic version, it's not ready to be committed just yet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 21:54:34 +00:00
Vadim Zeitlin
56873923f3
extract (and expand and clean up and document) the header window implementation used inside the generic wxDataViewCtrl in a separate wxHeaderCtrl class which could be reused in (generic) wxListCtrl and, most importantly, wxGrid later
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 21:53:10 +00:00