Robert Roebling
49e74855af
More RTL work.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 22:20:10 +00:00
Václav Slavík
22a35096a0
renamed wxRect::Inside() to wxRect::Contains(), wxRect::Inside(wxRect) is too confusing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 17:12:25 +00:00
Robert Roebling
03703fc0af
Reverse Left and Right meaning of keys.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 09:57:24 +00:00
Włodzimierz Skiba
18680f8651
Include wx/math.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 17:58:49 +00:00
Vadim Zeitlin
be0e5d699f
made wxTree/ListCtrl::HitTest() const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 12:00:57 +00:00
Włodzimierz Skiba
2a673eb1c9
Include wx/listbox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 08:23:42 +00:00
Vadim Zeitlin
164a797204
added wxListCtrl::GetSubItemRect() and subitem hit testing (patch 1476971)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 18:10:10 +00:00
Włodzimierz Skiba
ad9835c97c
Include wx/dynarray.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 14:18:39 +00:00
Włodzimierz Skiba
a2e5beeebb
Avoid deleting 'const' object.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 19:34:23 +00:00
Vadim Zeitlin
f516d98637
create stock GDI objects on demand; use const with GDI objects appropriately (patch 1445355)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:18:29 +00:00
Vadim Zeitlin
6fb683081c
removed unnecessary (the problem is due to a bug elsewhere) test for vertical scroll position in OnScroll() introduced in rev 1.400
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 01:10:28 +00:00
Vadim Zeitlin
cf76cd4eba
a tentatively better fix for the problem of patch 1456060: don't use m_linesPerPage directly as it's initialized on demand by GetCountPerPage(); also removed some stray tabs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 00:48:34 +00:00
Jamie Gadd
82d492f145
Include compatibility guard for int GetItemSpacing( bool isSmall ) in implementation file also.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 23:01:55 +00:00
Robert Roebling
3603a3895e
Fix wxListCtrl in-place editing (to not crash
...
when editin is finished by clicking somewhere
else and thus taking the focus away from the
wxTextCtrl). Also, "delete this" in the middle
of code isn't optimal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 15:25:59 +00:00
Vadim Zeitlin
5d584acb88
don't return void values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-29 14:30:22 +00:00
Robert Roebling
8b1464af32
Apply wxListCtrl patch which fixes some crashes
...
and let the generic wxListCtrl show context
menus like the MSW one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 08:13:48 +00:00
Włodzimierz Skiba
faa94f3ec8
Final and global PRIOR/NEXT change: keep consistency using only PAGE versions, deprecate old ids, remove rest of build problems with case statemets.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 12:25:17 +00:00
Robin Dunn
06db67bcb0
Applied Patch #1424869 : Implement wxListCtrl::SetItemColumnImage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 21:26:59 +00:00
Vadim Zeitlin
9a6a4f6d57
deselect the current selection when the user clicks outside of any item
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 20:42:54 +00:00
Vadim Zeitlin
75ae9acfa8
fixed crash due to double deletion of wxListTextCtrlWrapper intorduced in a recent change (wrong use of PopEventHandler instead of RemoveEventHandler)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 20:24:48 +00:00
Vadim Zeitlin
ebadbb76d3
centre icon and text vertically in the report view (previously the text wasn't aligned with the icon if their heights was different)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 19:52:10 +00:00
Vadim Zeitlin
26e8da413c
implemented EditLabel() with custom text controls and GetEditControl()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 15:32:29 +00:00
Vadim Zeitlin
8f14114792
declare lists as exported, seems to be necessary in VC5 DLL builds and shouldn't hurt elsewhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 21:20:26 +00:00
Vadim Zeitlin
7447bdd7b7
fix client to screen (and vice versa) conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 00:49:24 +00:00
Michael Wetherell
8d7eaf9140
Warning fixes for VC5 (Igor Korot)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 12:16:56 +00:00
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