Julian Smart
2ae226ddc3
Applied patch [ 1424247 ] Have wxGenericListCtrl not size a window with a negative val
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 14:39:23 +00:00
Vadim Zeitlin
6f02a879ed
make access specifiers for the virtual functions match their access in the base class (patch 1400131)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 21:47:09 +00:00
Jamie Gadd
68df211fae
Deprecate wxDC::{Begin,End}Drawing()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 11:59:59 +00:00
Robin Dunn
e062c6a4d0
Another patch from Tim Kosse for using images on more than one column
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 02:37:23 +00:00
David Surovell
08a175cec7
fixed compilation failure introduced in prior commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-25 23:48:09 +00:00
Robin Dunn
208458a7f5
Patch from Tim Kosse to add supoprt for wxListCtrl::OnGetItemColumnImage
...
which enables images to be specified for columns other than zero in
virtual list controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-25 23:29:02 +00:00
David Surovell
277ea1b490
cleanup - reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-24 22:59:49 +00:00
Robin Dunn
b6bc47efde
Workaround for wxMac since it is unable to dismiss the edit control
...
when the listctrl is clicked on. It has to do with a dependency on
the order of focus events so on wxMac we'll just explicitly dismiss
the edit control if it's active when the listctrl is clicked on.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-05 23:55:55 +00:00
Vadim Zeitlin
98cb8dcb0c
don't set minimal column width, it should be possible to set it even to 0 if desired (e.g. to hide a column)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 01:00:30 +00:00
Vadim Zeitlin
17a1ebd101
first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Vadim Zeitlin
fbfb8bcc3f
added missing consts and pass objects by const reference instead of by value (patch 1205869)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 21:43:15 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Vadim Zeitlin
39a7f085a4
Respect wxListItem::m_mask in general list control Set/GetItem() and allow
...
them to be used to change/query the item selection and focus status (second
part of patch 1264533 from Ryan, modified to be backwards compatible)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-11 11:14:26 +00:00
Michael Wetherell
35c2acd4a8
Add wxListCtrl::Get/SetItemFont, patch 1236820 Francesco Montorsi
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-22 22:29:20 +00:00
Włodzimierz Skiba
7448de8d8d
[1231183] 'cleanup: mismatched indentation' and other cleanings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-22 17:08:42 +00:00
Włodzimierz Skiba
48f7ffbe93
First part of '[ 1216148 ] cleanup: unused variables and declarations'.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 19:01:45 +00:00
Julian Smart
2cb1f3dae3
Applied patch [ 1210352 ] Fix editing in generic wxListCtrl with wxLC_EDIT_LABELS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:35:07 +00:00
Julian Smart
3103e8a97e
Typo correction patch [ 1208110 ] Lots of typo corrections
...
Olly Betts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Robin Dunn
7360b79665
Allow wxMac to have HRULE/VRULEs for wxListCtrl too.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-09 19:58:55 +00:00
Robert Roebling
ce17501854
Fix the fix for not sending two end label edit events
...
because that fix prevented anyone from finishing the
edit by keys.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 21:00:29 +00:00
Stefan Csomor
4e6b6f210d
handling mac as gtk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 14:05:12 +00:00
Vadim Zeitlin
8d36b2167d
fixed crash introduced by recently applied autowidth patch (patch 1171455)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 18:05:21 +00:00
Włodzimierz Skiba
f5c479ccfc
Build fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-22 19:28:37 +00:00
Vadim Zeitlin
7d4813a0c1
speed up SetColumnWidth() by caching max column width (patch 1156866)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 23:35:53 +00:00
Robert Roebling
2fe417e4c4
Applied patch to reenable single selection mode.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 17:27:20 +00:00
Robert Roebling
33fe475aeb
This fixes a problem in the two tree and list controls that
...
are trigger if the user app shows dialog in reaction to
the user pressing e.g. <ENTER>. The edit text control will
lose focus and emit another event. Might be possible to
fix without adding another field, but this way it surely
works.
Also added correction to treecontrol as per listcontrol in
the situation when a label change happens by losing the
focus and the user cannot reject it, another event is emitted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 17:25:29 +00:00
Stefan Csomor
d108f23649
adapt to mac l&f
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 19:55:18 +00:00
Vadim Zeitlin
0afa5859ab
wxGenericListCtrl::SetItemState(-1) now changes the state of all items (patch 1101650)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 17:07:17 +00:00
Stefan Csomor
fec8346a04
using correct theme heights for header on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 20:23:02 +00:00
Włodzimierz Skiba
c47addef10
wxPoint/Size/Rect() causes the same code with (0,0) initialization and is incomparably more readable and clear.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 20:34:34 +00:00
Włodzimierz Skiba
2997ca30d6
Use default constructors for wxSize/Point/Rect.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-10 21:33:56 +00:00
Robert Roebling
18216ae352
Applied context menu patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 12:45:26 +00:00
Kevin Hock
eb3d60a26f
Clean up indentation / tabs from previous patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-30 22:45:40 +00:00
Robert Roebling
8df443926c
Applied selection patch from G.R.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-30 21:51:02 +00:00
Kevin Hock
eaefbb887c
Make list consistent with tree in terms of Vetoed changes closing the inline edit and right-clicking on an item selecting it [patch 1110252]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 23:52:55 +00:00
Robin Dunn
3e172c2019
wxEVT_MOUSEWHEEL is always defined, no #if needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-28 16:38:06 +00:00
Włodzimierz Skiba
2ac08aeb99
MinGW warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 13:26:04 +00:00
Robin Dunn
185f6036f8
Bug fix for [ 1059381 ] Mouse wheel does not work in listctrl with gtk2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-14 15:59:21 +00:00
Włodzimierz Skiba
b713f8919c
wx/math.h integration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:52:13 +00:00
Robert Roebling
ababa106ae
Add SetFocusIgnoringChildren() to wxControlContainer. This
...
makes corresponding hacks in wxListCtrl and wxTreeCtrl
obsolete. With docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 12:51:05 +00:00
Robert Roebling
1e6601c72f
wxListCtrl::InsertItem() ignored the column.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 12:09:18 +00:00
Kevin Hock
34621cc5d6
Documentation patch from Olly Betts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 19:11:07 +00:00
Stefan Csomor
ca80fdee5e
__WXMAC_OSBUILDTYPE__ selections are now only defined if they are TRUE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 10:36:33 +00:00
Robin Dunn
611a725ecd
Check for an image list before complaining in OnGetItemImage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-08 16:14:41 +00:00
Vadim Zeitlin
aba3d35e7b
don't deprecate SetItemImage() with 3 parameters; just add a default value for the last one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 22:27:45 +00:00
Julian Smart
c3627a004d
Deprecated SetItemImage with 2 image ids
...
Deprecated _GET_INFO, _SET_INFO list control events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 19:12:23 +00:00
Václav Slavík
66370e3854
implementation should use DoFindFocus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 15:30:09 +00:00
Václav Slavík
0fe0275981
changes to make wxWindow::FindFocus work as expected with composite controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 14:34:28 +00:00
Vadim Zeitlin
81ce36aa59
more 64 bit correctness fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 09:25:47 +00:00
Stefan Csomor
309e4c1464
setting the mac theme font only in VARIANT_NORMAL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-30 06:49:26 +00:00