Robert Roebling
f7ed8c899f
Use child's listmodelnotifier's destructor (by overloading
...
it) to get informed about the destruction of the child
model in a sorted model. Removed Freed() method used for
that so far.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 18:00:14 +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
Vadim Zeitlin
96c2a0dd74
fix unused parameters warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:40:13 +00:00
Robert Roebling
30715fa195
Fix inplace editing of custom controls for
...
GTK+ variant of wxDataViewCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 12:47:47 +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
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
Robert Roebling
b94db696c2
Make wxDataViewCtrl compile and work in ANSI mode.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 15:24:48 +00:00
Paul Cornett
e07c114691
correct DLL attributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 17:35:49 +00:00
Robert Roebling
1286b7ba6c
Not everything has to be virtual.
...
Made short cuts for adding columns more useful.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 14:15:53 +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
47cef10f28
Added sort order and alignement for column headers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:35:23 +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
Robert Roebling
f828871d12
Add row activated event.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 13:23:20 +00:00
Robin Dunn
2f799ae8d2
DLL build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:51:05 +00:00
Robert Roebling
fc211fe5ce
More selection work in GTK+ version.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 17:28:19 +00:00
Robert Roebling
baa9ebc473
Renamed wxDataViewCell to wxDataViewRenderer since the
...
class just renders the cell, it doesn't represent one.
Maybe wxDataViewCellRenderer would be best...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 15:24:03 +00:00
Robert Roebling
eb7f97f8d6
Added event skeletons, defines, event ids..
...
Implemented wxEVT_DATAVIEW_ROW_SELECTED.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 13:23:31 +00:00
Robert Roebling
6ff7eee7ea
Added selection API.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 11:39:08 +00:00
Robert Roebling
0a71f9e92f
Replaces size_t with unsigned int in wxDataViewCtrl API.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 11:09:06 +00:00
Robert Roebling
008b5a66f7
Removed some irritating flags.
...
Implmented the remaining ones under GTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-01 21:09:56 +00:00
Robert Roebling
2586d4a121
Several wxBitmapDataCell changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 21:21:19 +00:00
Robert Roebling
4627af27d4
Implement most of AppendRow(), PrependRow(), InsertRow(),
...
DeleteRow() for GTK+ version and sorted model.
Added tests for these.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 21:11:14 +00:00
Vadim Zeitlin
d3c7fc996a
mark all dtors which are virtual because base class dtor is virtual explicitly virtual themselves
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 20:47:48 +00:00
Robin Dunn
f460c29d59
Use correct DLL import/export specifier for multi-lib builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 01:22:06 +00:00
Włodzimierz Skiba
07b6378fcb
Be nice to eVC++ build process and don't include not existing files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 11:33:56 +00:00
Robert Roebling
c21f7aa162
Added style flags for selection mode.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 08:31:35 +00:00
Robert Roebling
533544f2ea
Added some column width contrl code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 23:14:36 +00:00
Robert Roebling
0f0297d8f3
Remove CVS clash in RCS-ID
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 08:14:50 +00:00
Włodzimierz Skiba
f554a14b89
Source and warning cleaning after enabling wxUSE_DATAVIEWCTRL in wxMSW builds.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 14:01:33 +00:00
Robert Roebling
0fdc2321bc
Implement basic MVC logic (change an item in one
...
view and all views update themselves) and made
wxDataViewToggleCell react to mouse clicks as a
test for that (generic code).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 11:44:57 +00:00
Robert Roebling
4b3feaa75d
Added windowing and scrolling logic to generic
...
implementation of wxDataViewCtrl (it runs now).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 12:30:06 +00:00
Robert Roebling
4ed7af081e
Added (yet unfunctional) skeleton files fir
...
generic implementation of wxDataViewCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 16:37:24 +00:00
Robert Roebling
3f3af7e7f8
Change wxVariant GetValue() to GetValue( wxVariant & ).
...
More cool sorting code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 10:46:01 +00:00
Robert Roebling
4eccd3a10f
Further sorting work using the sorting data model.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-01 10:49:06 +00:00
Robert Roebling
8f850e2831
Moved code around preparing the sorted model.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 15:04:25 +00:00
Robert Roebling
8981608c69
Added wxDataViewSortedListModel, which doesn't work
...
yet, but you get the idea..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 10:47:28 +00:00
Robert Roebling
b5d777c78e
Added generic MVC hookup code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 13:09:41 +00:00
Robert Roebling
4d496ecbc4
Some restructuring, beginning of wxDataViewDateCell.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 15:48:42 +00:00
Robert Roebling
553f7d8f56
Makes custom cell activatable.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 01:51:28 +00:00
Robert Roebling
ad63bf413b
Added wxDataViewProgressCell with native code
...
for GTK 2.6 and fallbacks otherwise.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-25 13:13:05 +00:00
Robert Roebling
e152afc3d4
Added wxDataViewCustomCell.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 18:19:55 +00:00
Robert Roebling
605c2c4ac6
added wxDataViewToggleCell
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 13:19:23 +00:00
Robert Roebling
a7f61f762d
wxDataViewCtrl now with editable text and multiple
...
views for the same data model (in the sample).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 13:34:15 +00:00
Robert Roebling
6090c7d328
Return variant type of a cell.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 03:09:27 +00:00
Robert Roebling
6842a71a5b
added wxDataViewCell
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 02:04:46 +00:00
Robert Roebling
fa28826dd3
Added wxDataViewColumn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-22 00:19:04 +00:00
Robert Roebling
6e2e590f2a
Add notifier class.
...
Only use listmodel for now, treemodel later.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 20:52:05 +00:00