Robert Roebling
07215d86e0
Removed accidentally left in debug code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:19:23 +00:00
Václav Slavík
a6d57d0388
fix for focus handling in generic wxListCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:51:52 +00:00
Robert Roebling
8ac7c50924
wxX11:
...
Made timer compile and maybe work.
Fixed display bug in wxListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 10:59:55 +00:00
Václav Slavík
f16ba4e6fa
don't use GTK specific code in wxListCtrl when building wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 00:23:02 +00:00
Vadim Zeitlin
903506828b
fixes for the compilation warnings with Sun CC:
...
1. some fixes for "String literal to char * conversion" warnings (many
more left in the *.xpm files)
2. fixes for "assignment of function to extern "C" function"
3. a few other miscellaneous ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 12:49:12 +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
Robert Roebling
5d68475643
Further correction to wxListCtrl line wrapping.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 14:39:37 +00:00
Robert Roebling
bf632eddcd
Recorrected calculation of client size in wxListCtrl.
...
Also added comments on why this is correct.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 15:58:52 +00:00
Robert Roebling
dd5a32cc2d
Changed semantics of clicking beside the text control
...
when editing a label. This now accepts the input.
My attempt to make the focus return to the owning
tree and list control window failed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 21:15:56 +00:00
Vadim Zeitlin
ae0d8c1445
fix for the crash when many listctrl items change state
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 13:35:48 +00:00
Vadim Zeitlin
33b7a5491f
removed unneeded include from the header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 14:38:02 +00:00
Vadim Zeitlin
0ded6bb695
changes to match listctrl.h changes (forgot to commit yesterday, sorry)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 16:43:13 +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
87948f22dd
minor cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 13:56:40 +00:00
Vadim Zeitlin
85cdcb7a20
fixed wxListCtrl::DeleteAllColumns() in the generic listctrl (patch 470251)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:55:21 +00:00
Vadim Zeitlin
c5b7bb59ec
fix to avoid internal compiler error with gcc 2.95.2 on Alpha
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 14:16:20 +00:00
Vadim Zeitlin
37fa909534
refresh the current item when the focus is gained/lost
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 12:43:52 +00:00
Vadim Zeitlin
477243897a
fix for focus event sending
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 17:44:56 +00:00
Vadim Zeitlin
bde9072f68
reduced flicker when switching focus to/from the report list ctrl under wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 17:01:29 +00:00
Vadim Zeitlin
651d7a1ff8
set mouse position for COL_CLICK event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 20:07:32 +00:00
Vadim Zeitlin
0a816d9581
implemented column images for the generic version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-03 15:09:56 +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
cf30ae1309
fixed refreshing listctrl on focus change when it only has one item
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 11:35:14 +00:00
Václav Slavík
abe4a4f120
fixed a bug in wxListCtrl: SetColumnWidth didn't set wxListHeaderWindow::m_dirty
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 22:11:11 +00:00
Vadim Zeitlin
8d1d22845a
use raw (physical) coords in LIST_(R)DRAG events (patch 444912)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 15:41:17 +00:00
Vadim Zeitlin
fc4f1d5f6b
fixed crash in HitTest() with y position below the last line
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 15:37:17 +00:00
Vadim Zeitlin
ba7bd90150
fixed refresh problem after adding some items and calling Ensurevisible()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 16:08:11 +00:00
Vadim Zeitlin
49ecb02984
fix for refreshing the current item in the list ctrl when the focus is gained/lost
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 15:46:50 +00:00
Vadim Zeitlin
06b781c7c6
fixed clipping of items with icons text in report mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 13:09:18 +00:00
Vadim Zeitlin
6ea1323aa0
fixed bug/assert failure when refreshing items in non report mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 14:29:34 +00:00
Vadim Zeitlin
70541533c8
reduce flicker in header window when deleting items and let space select items even in single selection mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 11:51:24 +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
c1c4c5516c
fixed unwanted owner data accesses in virtual list ctrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-07 18:18:17 +00:00
Vadim Zeitlin
c25f61f16a
don't draw the selected item background if we don't have the focus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 19:27:08 +00:00
Vadim Zeitlin
0ebdf9fa8b
no changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-03 14:50:41 +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
Vadim Zeitlin
68a9ef0ef0
eliminated flicker when selecting items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-30 13:47:22 +00:00
Vadim Zeitlin
0e980f9109
highlight the focused item in non report mode too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 16:33:19 +00:00
Vadim Zeitlin
a95cdab85c
fix for (re)positioning the main window when the style changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 16:19:27 +00:00
Vadim Zeitlin
d6ddcd574b
fix for focus handling when deleting the items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-25 16:13:32 +00:00
Vadim Zeitlin
34bbbc276d
don't call wxYield() from EnsureVisible(), this is too dangerous - and unnecessary as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-23 15:54:41 +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
5fe143dfdf
fix for rather mysterious problem when deleting the list ctrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 20:54:17 +00:00
Vadim Zeitlin
ff3d11a0ab
implemented EVT_LIST_CACHE_HINT support: send this message from OnPaint() now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 11:12:34 +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
850ed6e7b0
1. don't delete item attributes in the virtual list control (=> crash)
...
2. refresh the window after deleting all items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-19 20:50:40 +00:00
Vadim Zeitlin
1a6cb56fb5
added RefreshItem(s) methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 20:09:44 +00:00
Vadim Zeitlin
6a6fd3e2b7
removed forgotten debugging printf
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 19:14:28 +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