Robert Roebling
d32332aaf6
Implement wxDataViewCtrl::GetSortingColumn() and related code for GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 21:02:18 +00:00
Robert Roebling
dadc879e99
Implement and test _HEADER_RIGHT_CLICK event for GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 20:36:19 +00:00
Robert Roebling
aed836f372
Implement and test wxDataViewCtrl::GetColumnPosition() for GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 20:30:05 +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
c2a92c8013
make SetValue return a value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 20:09:28 +00:00
Robert Roebling
c9c13e7043
add wxDataViewIconTextRenderer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 11:48:12 +00:00
Robert Roebling
405a351f3f
add test for custom in-place editor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 15:24:41 +00:00
Robert Roebling
d14e1c3a1a
test editing_started and _done events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 20:43:47 +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
f5f688eddd
Make ::SetValue return a bool
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 09:32:20 +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
6848478c72
Implement selection API and events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 22:57:13 +00:00
Robert Roebling
718fd18080
Implemented and tested EXPANDED etc events for wxGTK and in the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 21:20:24 +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
Robert Roebling
7ee7191cee
change wxDataViewModel::Compare() to including column and sortorder
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 14:12:52 +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
Robert Roebling
9d8fe14a97
Use type safe list for model notifiers, sample corrected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 18:46:01 +00:00
Robert Roebling
469d3e9b7b
ItemDeleted now has (parent, item)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 18:18:51 +00:00
Robert Roebling
d8331a013b
Send events from port-specific code, not common code, tested in samples
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 09:15:04 +00:00
Robert Roebling
c534e69669
added wxDataViewIndexListModel and sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:07:03 +00:00
Robert Roebling
ed903e4242
Renamed HasChildren() to IsContainer(), added GetParent() to wxDataViewModel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 09:01:52 +00:00
Robert Roebling
cf283a470a
Better sorting example and better default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 14:03:43 +00:00
Robert Roebling
55fbde1232
Some code renaming to avoid confusion. Test editable column in sample.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 22:01:47 +00:00
Robert Roebling
b5fce9e2df
Store pointers in wxDataViewItem in the sample, no any artifical int ID
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 11:15:10 +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
e63807a8a4
Add test for deleting item from wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 14:08:08 +00:00
Robert Roebling
befa9b614f
Test in GetFirstChild() if item is known to control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 15:47:01 +00:00
Robert Roebling
1e08ad102a
Made wxDataViewCtrl sample use a real, expandabl data tree
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 13:54:14 +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
94b1f7bcd3
More work on sorting in wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 18:29:05 +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
fc5eacdb48
wxDataViewCtrl can show tree/list music sample.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 19:55:00 +00:00
Robert Roebling
d2505ba254
Getting closer to working tree/list wxDataViewCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 19:15:03 +00:00
Robert Roebling
5debbdcf7b
The dataview sample compiles now, but doesn't work yet...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 14:59:16 +00:00
Vadim Zeitlin
a989a329db
changed ds[pw] files to use CRLF eol style and not native one (this helps if you have them on a partition exported via Samba from Unix to Windows)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 12:13:58 +00:00
Robert Roebling
2a5e6d1b3a
Experimenting with cell attributes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 21:02:33 +00:00
Robert Roebling
2fa73716ca
Change SetValue( wxVariant &value ) to
...
SetValue( const wxVariant &value )
(already documented)
Delete in-place editing control through
pending list, not in event handler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 09:36:48 +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
47c9446614
Add test for Validate()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 17:59:56 +00:00
Robert Roebling
9861f022c3
[ 1665996 ] Fixes/extensions to wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 07:57:46 +00:00
Robert Roebling
87f0efe2d7
Most of FM's wxDataViewCtrl patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-17 12:32:38 +00:00
Robin Dunn
ae4ccf12b6
rebaked after changing the version number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 02:14:45 +00:00
Vadim Zeitlin
45e6e6f8ab
call OnInit() from all samples to allow using standard command line options with all of them (patch 1623971)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:34:18 +00:00
Robin Dunn
25bb1412af
Move version number to 2.8.0.0 and rebake the makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 02:32:01 +00:00
Vadim Zeitlin
69199aad02
rebaked with baefile rev 928
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:39:49 +00:00
Robin Dunn
2add9e3c2f
Moved version number to 2.7.2.0 and rebaked
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 21:54:52 +00:00
Robin Dunn
3abcf424a3
Bumping the version number also requires that version.h be modified,
...
and also rebaking the makeifles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 01:20:56 +00:00
Robert Roebling
31fb32e137
Implemended column header mouse clicks.
...
Ascending/descending sorting.
Setting the little arrow indicator for ascending
and desceding sorting.
Generic stubs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 09:50:45 +00:00
Robert Roebling
07a84e7bbb
Add support for bitmaps in headers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:06:21 +00:00