Włodzimierz Skiba
1550e40204
-1->wxID_ANY, TRUE->true and FALSE->false replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 17:02:02 +00:00
Julian Smart
ae403b112c
Applied patch [ 920076 ] [listctrl sample] Keep multiselect menu item in sync
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 22:18:06 +00:00
Vadim Zeitlin
684571809d
don't try O(N) actions in virtual view, this gives impression that the sample hangs (as in bug 857038)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:16:21 +00:00
Julian Smart
95f913a9d6
Applied [ 866603 ] Fixes the listctrl demo's 'Toggle' menu item
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-08 08:43:16 +00:00
Vadim Zeitlin
07bf769ead
update list ctrl size after recreating it (when the mode changes)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 19:28:24 +00:00
Vadim Zeitlin
1bf37bf5b1
added test for cancelled END_EDIT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-07 09:06:58 +00:00
Vadim Zeitlin
c71963cdbe
VC++ warning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-26 17:34:12 +00:00
Vadim Zeitlin
355f240724
respect Veto()ing the column resize events; added test for this in the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 13:24:45 +00:00
Julian Smart
6aa89a22b8
Fixed copyrights and licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:55:54 +00:00
Vadim Zeitlin
caa20b1e31
added test for wxLIST_FORMAT_CENTRE/RIGHT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 21:00:17 +00:00
Mattia Barbon
42ed75321c
More samples/Unicode fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 10:23:11 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Robin Dunn
2936eaf046
Change needed for when the COMPATIBILITY flags are off.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 01:08:02 +00:00
Vadim Zeitlin
277707731e
added icons to virtual list mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 09:38:11 +00:00
Vadim Zeitlin
efe23391ab
added test for EditLabel, Unicode fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 10:53:51 +00:00
Vadim Zeitlin
62313c2788
right clicking outside any column sets the column in the list event to -1, not the last column
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 12:32:56 +00:00
Vadim Zeitlin
2d33aec94c
1. restored wxEvent::operator=()
...
2. removed wxListEvent::CopyObject()
3. refresh fixes to MSW virtual list control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 00:43:54 +00:00
Vadim Zeitlin
0ddefeb07f
added wxEVT_COMMAND_LIST_ITEM_FOCUSED event and implemented it for the generic version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 16:31:17 +00:00
Vadim Zeitlin
c5c528fc7f
implemented Freeze/Thaw() for the generic listctrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 17:06:29 +00:00
Vadim Zeitlin
6f806543a4
added support for column images under MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 23:47:42 +00:00
Vadim Zeitlin
11358d3976
added a bunch of new wxListCtrl messages: column right click and
...
start/continue/end dragging column divider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 01:01:51 +00:00
Vadim Zeitlin
6dc34ebbd8
added test for HitTest(m_dragPoint) bug to the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 15:41:46 +00:00
Vadim Zeitlin
88b792af94
added missing refresh when changing focus in wxListCtrl, added test for it in the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-13 15:41:18 +00:00
Vadim Zeitlin
4acb6ca672
applied patch 446010 (unicode compilation fixes)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 18:59:50 +00:00
Vadim Zeitlin
91c6cc0e71
fixed bug with deletion of several last items in wxListCtrl, added tests for it in the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-23 14:57:01 +00:00
Vadim Zeitlin
614391dc08
added EVT_LIST_COMMAND_CACHE_HINT, implemented it for MSW and test in the sample; briefly documented virtual list control fucntionality
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 00:25:09 +00:00
Vadim Zeitlin
6c02c32922
added support for item attributes in virtual list control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 16:22:12 +00:00
Vadim Zeitlin
5cd891743e
more wxListCtrl fixes: inserting/deleting items now works again (tested in the sample) but I somehow broke the scrolling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 15:58:24 +00:00
Vadim Zeitlin
b54e41c529
1. fixed typo ('&' instead of '|') in wxNotebook
...
2. changed wxTC_MULTILINE to be equal to wxNB_MULTILINE and != 0
3. much more efficient selection handling in virtual wxListCtrl,
we can now select 1000000 items without problems
4. kbd/mouse selection (ctrl/shift handling) fixed in wxListCtrl
5. added wxSortedArray::IndexForInsert() and AddAt(), remove Remove(size_t),
use RemoveAt() instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 22:42:35 +00:00
Vadim Zeitlin
776a33cfd3
made switching from/to multiple selection mode work better (doesn't require recreating the control any more)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 16:52:27 +00:00
Vadim Zeitlin
cf1dfa6b8f
virtual wxListCtrl support (UNTESTED)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 21:18:15 +00:00
Vadim Zeitlin
98ec9dbebc
added virtual listctrl support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 01:27:38 +00:00
Vadim Zeitlin
bec0a26172
delete test added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 22:24:33 +00:00
Bryan Petty
f6bcfd974e
merged 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Vadim Zeitlin
2e8a1588f8
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 23:02:03 +00:00
Vadim Zeitlin
58b3bdc933
added test for selection events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 17:20:39 +00:00
Vadim Zeitlin
c41ea66a5d
1. corrected bug in MDI sample (which resulted in missing horz scrollbar)
...
2. wxRegKey::Rename() added, regtest sample shows copying/moving/renaming keys
and values now
3. using wxLog() insread of WriteText() contorsions in the listctrl sample,
show client data from events in the log messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 23:40:42 +00:00
Vadim Zeitlin
efbb7287e6
1. corrected bug with LIST_ITEM_ACTIVATED being sent even if second click in
...
dbl click was on another item
2. moved private classes from listctrl.h -> listctrl.cpp
3. made sample messages include the item index
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 15:22:21 +00:00
Vadim Zeitlin
7b848b0db2
1. fixed bug with the index of the last column in EVT_COL_CLICK being shifted
...
by 1 (always)
2. added a menu item to toggle single/multiple selection to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 18:12:44 +00:00
Julian Smart
c86423f922
Minor mods if any
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:22:40 +00:00
Vadim Zeitlin
11f26ea0e2
1. more test code for drawing with ROPs/masks/bg brushes in drawing
...
2. wxListCtrl colour setting tests added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 01:07:48 +00:00
Robert Roebling
95bf655c50
Small modifications to listtest.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 20:36:00 +00:00
Robert Roebling
12c1b46a2f
Tried to prevent scrollbars from scrolling as
...
per MSW, didn't work.
Added DeleteAllItems event and test to listctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 13:51:01 +00:00
Vadim Zeitlin
81278df2b1
some minor changes in controls/image, timings added to listtest
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 01:30:21 +00:00
Vadim Zeitlin
0530737d1e
generic wxListCtrl colour/font setting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 10:43:35 +00:00
Vadim Zeitlin
d62228a645
wxListCtrl custom drawing seems to work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 00:20:58 +00:00
Vadim Zeitlin
bdc72a2268
1. wxGetOsDescription() function added
...
2. wxApp::GetComCtlVersion() slightly updated
3. wxToolBar::AddControl() should work on all systems, DeleteTool() added
4. wxListCtrl custom draw changes (custom colours/fonts)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 22:34:54 +00:00
Robert Roebling
f6b7723929
Two missing #includes in image code.
...
Corrected item coloring in wxListCtrl report mode (incl sample).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 11:56:28 +00:00
Vadim Zeitlin
fa5f6926ec
sorting test added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 22:07:25 +00:00
Vadim Zeitlin
40779a03e7
assert in OnSelected() fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 16:59:10 +00:00