Commit Graph

99 Commits

Author SHA1 Message Date
Vadim Zeitlin
93daabe060 removed WXWIN_COMPATIBILITY_2_4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 19:23:13 +00:00
Vadim Zeitlin
45e6e6f8ab call OnInit() from all samples to allow using standard command line options with all of them (patch 1623971)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:34:18 +00:00
Kevin Ollivier
2458daa728 Make it easier to switch between native and generic sample for testing purposes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 17:28:18 +00:00
Vadim Zeitlin
63c95fafea don't assert if 'c' key is pressed when there is no selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 22:33:21 +00:00
Robert Roebling
a95d5751f9 Send delete item event just before the item is actually
deleted (as per wxMSW). Also include the client data
   (long value) in the event.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 13:27:13 +00:00
Paul Cornett
b143cf708b 64-bit warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 05:36:31 +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
Robin Dunn
152e88789d Reverted mistaken check-in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 01:52:55 +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
Julian Smart
eb257f65ed Corrected index passed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 15:50:32 +00:00
Vadim Zeitlin
2dd52041d0 fixed crash introduced in rev. 187 for all non-MSW platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 16:53:42 +00:00
Włodzimierz Skiba
cfb6676306 Make wxListCtrl changes ported from 2.6 branch complete (fix for long list of errors at wxTinderbox).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 09:18:22 +00:00
Julian Smart
107ff6689a Added context menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:54:13 +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
c1318d3fa2 don't use grey background for the control, it makes selection almost completely invisible in the default Mac colour scheme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 20:26:14 +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
Michael Wetherell
4979a56c78 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-29 01:59:36 +00:00
Vadim Zeitlin
f0cf38b706 set or unset column image on column click
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 13:27:08 +00:00
Włodzimierz Skiba
5f4d35b804 wxOS2/OW warning and build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 15:54:39 +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
Vadim Zeitlin
100f649f94 added GetItemRect() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-02 22:14:52 +00:00
Vadim Zeitlin
b0401bea78 added virtual view mode with small number of items for testing search in virtual list control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 21:31:42 +00:00
Ryan Norton
fde548e2d2 fix for [ 1044879 ] wxMSW 2.5.3: memleaks in listctrl.cpp and bug in listctrl sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 23:49:28 +00:00
Julian Smart
3614a8dc02 Deprecations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 19:13:38 +00:00
Vadim Zeitlin
494ab5def0 added test for toggling wxLC_[HV]RULES styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 11:01:00 +00:00
Włodzimierz Skiba
77ace0c533 Fix for coordinates in wxEVT_COMMAND_LIST_COL_RIGHT_CLICK [patch #1019696] with test code in the sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-03 14:35:45 +00:00
Włodzimierz Skiba
8520f1374c Fixes for wxUSE_STATUSBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 15:36:01 +00:00
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