Robin Dunn
0b190ffcee
Bugfix for wxListCtrl::GetColumn. It wasn't checking the returned format correctly.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 23:25:06 +00:00
Robin Dunn
72db889479
Patch #581167
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 17:09:44 +00:00
Mattia Barbon
8ac67aa102
Allow compiling when _WIN32_IE < 0x300
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 17:11:19 +00:00
Robin Dunn
3709456403
Return more items in wxListCtrl::GetColumn.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-28 17:47:54 +00:00
Robin Dunn
6149de710a
Refactored my last change a bit and applied it in another place too.
...
Added the wx prefix to the other static funcitons for consistency.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 03:03:37 +00:00
Robin Dunn
73d8c5fd76
This fixes a crash that would happen when DeleteAllItems is called
...
when some items have attributes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 01:57:17 +00:00
Vadim Zeitlin
6aaef1403e
fix for the crash when pressing TAB in the edit control created by EditLabel() (bug 555749)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 10:53:23 +00:00
Vadim Zeitlin
14090241ce
mingw/cygwin compilation fix (patch 556157)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 15:54:09 +00:00
Vadim Zeitlin
7cf46fdb3e
fixed list item attributes when inserting/deleting items (patch 548391)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 22:21:15 +00:00
Vadim Zeitlin
050e7ed73b
added missing wxListItem copy ctor to wxMSW, moved wxListItem to the header
...
to avoid duplicating it in wxMSW and the generic versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 22:29:57 +00:00
Ron Lee
5b98eb2fa6
Added {S,G}etItem{Text,Background}Colour methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-24 20:31:46 +00:00
Václav Slavík
7391216edc
added wx/msw/missing.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 16:18:26 +00:00
Mattia Barbon
1297925905
More fixes for daily builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 20:11:51 +00:00
Mattia Barbon
7cfdeaadb8
More blind fixes for daily builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-05 21:23:47 +00:00
Mattia Barbon
0e7fa3a63f
Blind fix for daily builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-04 20:22:47 +00:00
Václav Slavík
8c21905b16
fix for (MSLU?) BEGIN/ENDEDITLABEL in Unicode build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 13:22:03 +00:00
Mattia Barbon
ed8a10f817
Blind fix for Win32 daily builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 16:07:39 +00:00
Kendall Bennett
574c939ef1
Merges from Scitech Branch (George Davison):
...
Added wxDisplayChangedEvent and triggering in MSW, when display mode changes
this event gets triggered. I don't know what should happen with other OS's
since I am not familiar with how they handle mode changes.
Watcome Version 11 now compiles with wide character support.
Fixed watcom warnings in
html/htmlwin.h
imagbmp.h
listctrl.h
imagbmp.cpp
quantize.cpp
strconv.cpp
variant.cpp
dirctrlg.cpp
treectlg.cpp
m_style.cpp
fontenum.cpp
listctrl.cpp
ole\dataobj.cpp
textctrl.cpp
window.cpp
xml.cpp
msw/setup.h
with watcom version 11 it now compiles with wide character support.
xrc/xml.cpp
fixed memory leak and compile warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 18:46:31 +00:00
Vadim Zeitlin
0cf5b09998
got rid of wxWindow::m_lDlgCode - now wxWANTS_CHARS style should work for all windows, even the native controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 00:58:11 +00:00
Václav Slavík
a756f21001
use the new wxSystemSettings API everywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:53:01 +00:00
Václav Slavík
00811ff918
compilation fix for Watcom C++
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 23:26:22 +00:00
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