Commit Graph

169 Commits

Author SHA1 Message Date
Vadim Zeitlin
ad9f477da5 minor flicker reduction in the virtual list ctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 00:43:38 +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
d1f2eb1dd0 fix for my old mingw32 cross-compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 15:36:28 +00:00
Vadim Zeitlin
648bec3ef5 implemented EVT_LIST_ITEM_FOCUSED() for Win32 wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 00:34:46 +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
185d0094f8 fixed key event code for ASCII keys in wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 20:39:28 +00:00
Václav Slavík
8ecd8ade37 applied wxListCtrl label editing patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 22:24:59 +00:00
Vadim Zeitlin
2e9f62dafb compilation/build fixes for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-26 00:47:52 +00:00
Václav Slavík
5145e34f09 w32api 1.1 support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 16:15:28 +00:00
Václav Slavík
244531bc96 compilation (hot)fixes for Mingw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-15 10:39:22 +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
Václav Slavík
0b52d3cf4d mingw compilation fix, added some defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 21:47:29 +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
2cefcb34d2 compilation warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-15 11:47:39 +00:00
Robin Dunn
6443de0263 Fixed the drawing of the HRules so they don't try to iterate over all
the zillions of items in a large (or virtual) list control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 18:48:37 +00:00
Robin Dunn
625cb8c0b1 Fixed a bug so wxLC_VRULES works by itself.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 18:34:18 +00:00
Robin Dunn
7946d7deaa A fix for attribrute sorting, but it's still broken if there are
duplicate sort keys...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 09:02:37 +00:00
Robin Dunn
19230604c4 Moved fix from 2.2 branch that allows the attributes in MSW wxListCtrl
to move with their items when the list is sorted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 05:35:09 +00:00
Vadim Zeitlin
d0debf520a drastically reduced flicker in RefreshItems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 00:10:01 +00:00
Vadim Zeitlin
bf9b6266fa applied patch 446014 (misc mingw fixes from Mattia)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 19:02:17 +00:00
Kendall Bennett
d699f48ba3 Latest updates from SciTech code tree including numerous warning fixes for
the Watcom and other compilers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-31 17:50:16 +00:00
Vadim Zeitlin
82dfea7723 mingw32/cygwin compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-27 20:05:07 +00:00
Vadim Zeitlin
e623926d63 filter out garbage Windows sends us via LVN_ODCACHEHINT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 01:00:21 +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
dccde0c023 bug fix to the recent wxConvertFromMSW change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 21:18:23 +00:00
Vadim Zeitlin
8dff2b5cf8 use LVM_SETITEMSTATE instead of LVM_SETITEM for virtual controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 21:01:43 +00:00
Vadim Zeitlin
a7f560a2cb implemented RefreshItem(s) under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 02:03:23 +00:00
Vadim Zeitlin
63166611fb implemented attributes support for native virtual list control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-12 00:06:48 +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
7db91489d6 set m_itemIndex in the list events for key down event too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 22:03:55 +00:00
Vadim Zeitlin
7bf1474ab6 applied some minor patches from chuckm to wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 22:55:49 +00:00
Vadim Zeitlin
30a72e6297 check for LVS_OWNERDATA availability at compile and run-time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 00:39:05 +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
e421922f90 MSW compilation fixes - widgets sample runs!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 00:27:24 +00:00
Vadim Zeitlin
1e6feb95a7 first pass of wxUniv merge - nothing works, most parts don't even compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 20:59:19 +00:00
Vadim Zeitlin
b6ca231f85 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 16:08:16 +00:00
Julian Smart
ae090fdb7f Support for Cygwin 1.0 (thought it worked before, but...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 15:04:00 +00:00
Julian Smart
b07664068b Applied patch #420395 (adding wxCLIP_SIBBLINGS capability -- but not by default)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 11:14:37 +00:00
Václav Slavík
aa50e893ee fixed wxListCtrl::EditLabel for MSW (ListView_EditLabel fails if
the control does not have focus, so I changed EditLabel to always set focus to *this
before calling LV_EditLabel). This fixes wxEditableListBox.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 16:41:47 +00:00
Vadim Zeitlin
233d02951f fix setting colour for a listctrl item (merged from 2.2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 02:21:18 +00:00
Kendall Bennett
33ac7e6f01 Updates to fix Watcom C/C++ 11.0 compiler warning problems. Now compiles
clean with this compiler. Hopefully I did this without breaking other
compilers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-02 19:48:15 +00:00
George Tasker
3897b707bd Minor code tweeks to stop BCC compiler warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-21 15:48:12 +00:00
Vadim Zeitlin
d8408fc65f merged Ctrl-Space fix from 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-21 23:55:35 +00:00
Vadim Zeitlin
2e4df4bfaf 1. made compilation with WXWIN_COMPATIBILITY_EVENT_TYPES really work
2. moved ~50% of the event types in their own headers/sources from event.h/cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:16:40 +00:00
Julian Smart
ca2869177e Corrected horizontal rule drawing when number of items is 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-05 14:01:28 +00:00
Julian Smart
8036af01d8 In wxListCtrl::Find, don't decrement 'start' if already -1, or the search fails.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-05 13:35:38 +00:00
Vadim Zeitlin
a1f79c1e00 1. added wxGTK::wxToolBar::SetToolShortHelp() and test for it in sample
2. fix a crash if SetSelection is called too early in wxTextCtrl
3. patch for mouse position in wxTreeCtrl events


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 17:07:12 +00:00
Vadim Zeitlin
b0a6bb75bc 1. a couple of compilation warnings fixed (strconv/listctrl)
2. now reenable windows disabled by wxWindowDisabler slightly earlier:
   this solves the problem with "wrong" window being brought to top and
   eliminates the need for BringWindowToTop() and SetActiveWindow() in
   our code
3. style wxFRAME_FLOAT_ON_PARENT is now obsolete and unused, all frames
   have WS_EX_APPWINDOW style and appear on the taskbar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-07 20:19:10 +00:00
Václav Slavík
2e12c11a90 added wxListCtrl::AssignImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-28 22:29:26 +00:00
Julian Smart
2189c64415 Fixed non-recognition of wxLIST_MASK_IMAGE flags.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 15:49:14 +00:00