Commit Graph

70 Commits

Author SHA1 Message Date
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
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
Vadim Zeitlin
21ead7676a don't compile wxDataViewDateRendererPopupTransient if !wxUSE_POPUPWIN (as is always the case under Mac) (bug 1616964)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 20:13:16 +00:00
Vadim Zeitlin
64b3c26259 set wxDATAVIEW_CELL_SELECTED in flags passed to Render() (patch 1611212)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 15:37:31 +00:00
Włodzimierz Skiba
8d0ca2928b Allow building without calendar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 12:37:29 +00:00
Vadim Zeitlin
2e992e06a7 added wxWindow::IsDoubleBuffered() and improve wxBufferedDC (patch 1565330)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:39:34 +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
Włodzimierz Skiba
df3871691e Warning fixes and TODO markup for easier finding by brave volounteers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 07:18:25 +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
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
Vadim Zeitlin
f5ee98b65c fix VC warning about incorrect dll linkage of wxDataViewSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 09:10:41 +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
Włodzimierz Skiba
57bd4c6031 Include wx/msw/wrap*.h according to pch support (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 19:01:45 +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
Włodzimierz Skiba
9eddec696f Include wx/settings.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 07:16:32 +00:00
Włodzimierz Skiba
c0badb709a Include wx/timer.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 11:04:37 +00:00
Włodzimierz Skiba
ed4b0fdca6 Include wx/dcclient.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:51:49 +00:00
Vadim Zeitlin
5637e1311b signed/unsigned warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 15:26:41 +00:00
Vadim Zeitlin
4a851b11c2 made GetRowCount() return size_t to avoid signed/unsigned warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 16:19:31 +00:00
Paul Cornett
a8461d3170 & operator should be &&
virtual OnDismiss() access should match base
extraneous semicolon


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-01 17:39:19 +00:00
Włodzimierz Skiba
90b903c263 Renamed DrawCheckButton due to conflict with existing and public api of wxUniversal port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 23:54:26 +00:00