Robert Roebling
67be459bba
Ensure item is visible when selection moves, remove compile warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 08:37:48 +00:00
Robert Roebling
d37b709c4b
Correct activate logic for <ENTER>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 21:41:36 +00:00
Robert Roebling
2c3f6edd63
Correct activate logic for mouse clicks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 21:38:13 +00:00
Robert Roebling
cf90f9cca5
Correct drawing placement (16px + 1 px border below)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 21:04:30 +00:00
Robert Roebling
11b3105abf
Correct text colour in wxIconTextRenderer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 20:54:00 +00:00
Robert Roebling
cc28f5ecd0
Support for hover effect in header buttons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 20:48:19 +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
526e19e2d3
Patch from Bo for new selection API and impl. of GetColumnPos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 19:38:57 +00:00
Julian Smart
9bcc8016c1
Fixed compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 09:47:55 +00:00
Vadim Zeitlin
b7fe22610e
fix some harmless warnings (last two parts of patch 1779004)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 17:00:45 +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
c899416db0
Patch from Bo for new API, various fixes, live update for column header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-01 18:57:03 +00:00
Robert Roebling
24c4a50f43
Patch from Bo, implements mouse hover, default sort
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 20:29:59 +00:00
Robert Roebling
c59a09cfea
Minor correction, use wxCHECK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 10:28:51 +00:00
Robert Roebling
d92cb0154b
Fix from Bo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 09:47:01 +00:00
Robert Roebling
57f2a65292
Applied patch from Bo, WIP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 09:32:43 +00:00
Robert Roebling
e887bad5f3
restored expanders
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-27 08:35:26 +00:00
Robert Roebling
afebb87be1
Patch from Bo for recent API changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 14:48:29 +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
7274390ff1
correct copyright
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 21:37:46 +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
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
Robert Roebling
b7e9f8b136
Bo's patch adding Selection API and some more changes, doesn't compile yet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 19:03:01 +00:00
Julian Smart
b9d30e5f8f
Compile fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 11:26:24 +00:00
Julian Smart
a8505db0fa
compile and warning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 13:50:44 +00:00
Vadim Zeitlin
d3f00f5993
sorting support for generic version (patch 1765087 from Bo)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-03 11:47:42 +00:00
Vadim Zeitlin
071691a05d
yet another compilation fix for ItemDeleted
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 22:03:25 +00:00
Vadim Zeitlin
3214311765
and another compilation fix for ItemDeleted() from Bo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 12:22:48 +00:00
Vadim Zeitlin
442c56e6ee
real compilation fix for ItemDeleted()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 12:17:14 +00:00
Vadim Zeitlin
00978afa69
compilation fix for ItemDeleted()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 00:16:34 +00:00
Robert Roebling
d47db7e06a
Patch from Bo, implement sorting in wxDVC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 18:09:47 +00:00
Robert Roebling
351461fc83
Patch from Bo to optimize FindNode() in internal tree structure
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 08:35:55 +00:00
Robert Roebling
6cdcbce3e5
Use wxDataViewItem, not row to index
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 11:21:28 +00:00
Robert Roebling
9d52aad39a
change wxDataViewItem id to void*
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 11:01:05 +00:00
Robert Roebling
704c349086
Patch from Bo for generic wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 10:37:04 +00:00
Robert Roebling
d5025dc00f
More patches from Bo, reduced wxDataViewModel, more sorting preps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 00:35:39 +00:00
Robert Roebling
3b6280beb2
Bo's patch for generic code, more sorting code, WIP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 12:58:28 +00:00
Robert Roebling
aba9bfd00a
Bo'd patch to make wxDataViewCtrl compile again (4th attempt
...
to actually commit).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:38:22 +00:00
Robert Roebling
c3112d560e
Corrected/implemented sorting (by way of clicking on
...
on the header button) for the generic code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 12:31:35 +00:00
Robert Roebling
1e510b1e2d
Implemented the same simple API for creating customized
...
in-place editing controls for GTK+ and the generic
version and demonstrate its use in the sample using
a wxSpinCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 12:08:10 +00:00
Robert Roebling
99d471a5db
Rewritten in-place editing for generic wxDataViewCtrl
...
moving the code (partly) to the renderer and away
from the wxDataViewCtrl class. Adding new in-plae
editors (wxChoice) should be much simpler now.
Also implemented using Validate() before committing
a change to the data model.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 12:45:25 +00:00
Václav Slavík
47b378bd88
removed extra semicolons (patch #1700459 ; fixes compilation with gcc's -pedantic flag)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 09:58:37 +00:00
Václav Slavík
fab3f50eb7
fixed wxDataViewCtrl compilation with DigitalMars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 15:31:38 +00:00
Vadim Zeitlin
c741d33feb
fix warning about non-dllexport'ed base wxDataViewHeaderWindowBase class from MSVC in DLL builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 20:43:47 +00:00
Vadim Zeitlin
a68962fc90
wxMSWGetColumnClicked must be dllexport'd to be used from another (adv) DLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 20:40:48 +00:00
Chris Elliott
914e69451f
fix for MSVC see sf bug 1669419
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-28 08:48:11 +00:00
Robert Roebling
5d3f234b6b
FM small patch for wxDataViewCtrl compilation
...
and warning fixes (dll linking problem).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 21:25:15 +00:00