Commit Graph

134 Commits

Author SHA1 Message Date
Paul Cornett
5e6f89276d non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 19:12:04 +00:00
Robert Roebling
f6f0ef852c initial drag interface for wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 12:41:39 +00:00
Robert Roebling
99c75ebc5e Patch from Hartwig and me for implementing reorderable dataview columns. Works on OS X and GTK+, breaks OS X a litte
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-26 18:30:56 +00:00
Robert Roebling
e483dfcb9d Added API for column reordering
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 18:29:14 +00:00
Robert Roebling
33ba5a0562 Added wxDataViewListIndexModel::Reset(), clarified and corrected wxDataViewModel::Cleared(), corrected sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-17 13:56:28 +00:00
Robert Roebling
8b6cf9bf10 Added wxDataViewListIndexModel::RowsDeleted() and various related corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-17 11:28:02 +00:00
Robert Roebling
6af3eec222 Add dataview context menu event definitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 14:48:13 +00:00
Robert Roebling
1a07a730f0 Add support for wxDC_ROW_LINES for GTK+ and OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-03 09:44:29 +00:00
Robert Roebling
a75124d0da Added wxDataViewTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-01 19:01:47 +00:00
Robert Roebling
2056dede02 Implement wxGTK internal short-cut for wxDataViewIndexListModel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 23:54:57 +00:00
Robert Roebling
eb1c3db2dd Remove useless GetRowCount
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 10:22:58 +00:00
Robert Roebling
594d5596ee Update to wxDataViewCtrl from Hartwig
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 21:20:27 +00:00
Robert Roebling
517166e678 optimise startup of wxDataViewIndexListModel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-15 15:03:48 +00:00
Robert Roebling
4264606eed Add wxDataViewTextRendererAttr, blind noop under wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-08 22:51:58 +00:00
Vadim Zeitlin
4660b55651 fixes for DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 00:05:09 +00:00
Paul Cornett
c3c62822fd build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 16:13:06 +00:00
Vadim Zeitlin
b5ec7dd6ee fix unused parameter warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 23:23:44 +00:00
Robert Roebling
52e750fc75 Added wxDataViewCustomRenderer::RenderText() for renderer simple text in platform dependent way, added wxDataViewSpinRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 20:09:10 +00:00
Robert Roebling
736fe67c66 Added PrependColumn methods and short cuts. Added test for DeleteColumn to sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 20:56:38 +00:00
Robert Roebling
001f0f8273 Correct focus rect to not appear in unfocussed controls (currently doesn't appear at all under XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 09:43:19 +00:00
Robert Roebling
49fc3b9c03 Correct EnsureVisible() to show last item entirely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 09:21:04 +00:00
Robert Roebling
e2da67f6d7 More alignment issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 09:17:32 +00:00
Robert Roebling
69357fa0cb Change default alignment to centre vertically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 08:50:22 +00:00
Robert Roebling
e94d0c1e66 Add wxDataViewTreeStore with sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 11:41:46 +00:00
Robert Roebling
c33edc08d6 Beginning of wxDataViewTreeStore API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 22:01:24 +00:00
Robert Roebling
1e40f6676a added wxDataViewModel::HasContainerColumns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 18:31:12 +00:00
Václav Slavík
d350fbec22 compilation fixed for wxDataViewCtrl: almost no class was properly exported in wxGTK version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 19:44:26 +00:00
Robert Roebling
6608fdab17 Document _ITEM_VALUE_CHANGED and implmement it equally as being sent from valueChanged and ItemChanged. Remove other _MODEL_XXX events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 10:41:46 +00:00
Robert Roebling
854cdb0975 Added API for adding/deleting/changing multiple items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 10:54:57 +00:00
Robert Roebling
8d92a3e988 Forgot this one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 19:51:42 +00:00
Robert Roebling
d86c187031 API change: a single SELECTION_CHANGED not lots of SELECT and UNSELECT events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 08:59:07 +00:00
Robert Roebling
6d9ecc870a wxDataViewCtrl patch from Hartwig
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 21:23:48 +00:00
Robert Roebling
453091c269 Add wxDataViewCtrl::GetColumnPosition() stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 13:29:19 +00:00
Robert Roebling
21f47fb900 Add wxDataViewCtrl::GetSortingColumn() stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 12:57:40 +00:00
Robert Roebling
097119648b Added const and virtual in various places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 09:55:36 +00:00
Robert Roebling
74fe973bba Added wxDataViewModel::GetChildren() (removed GetSibling() and GetFirstChild())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 09:44:59 +00:00
Robert Roebling
b04fcede8f Added wxDataViewCtrl::AppendIconTextColumn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 09:14:49 +00:00
Robert Roebling
8935265382 add wxDataViewIconText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 11:12:12 +00:00
Robert Roebling
91a6c65558 Move column organizing code to ports, away from common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 10:05:16 +00:00
Robert Roebling
f71d3ba46c added Collapse() and Expand()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 21:05:51 +00:00
Robert Roebling
e0000f9494 add editing_started and _done events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 19:44:04 +00:00
Robert Roebling
1b27b2bd2b Set/GetExpanderColumn() should use wxDataViewColumn, not unsigned int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 13:28:56 +00:00
Robert Roebling
a87b466df3 Correct signature of HitTest()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 20:00:32 +00:00
Robert Roebling
fbda518cb7 Minor API changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 11:21:52 +00:00
Robert Roebling
0bd2681966 Added logic, API and docs for wxDataViewModel::HasDefaultCompare indicating a compare function usable without and column (header)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 21:18:06 +00:00
Robert Roebling
c7074d4419 Let various AppendXXXColumn helplers return the column created within
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 13:39:32 +00:00
Robert Roebling
cd722937d8 minor change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 13:14:57 +00:00
Robert Roebling
66e09788ab Patch from Bo, adapt generic code to new API, add GetItemRect and HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 17:26:11 +00:00
Robert Roebling
4f1cf94b94 Make wxDataViewItemArray more efficient
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 13:51:15 +00:00
Robert Roebling
6154212e51 Change EnsureVisble() to including column parameter, implemented it for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 21:44:34 +00:00