Vadim Zeitlin
ed84dc74d9
Fix drawing of items with custom background in wxGenericListCtrl.
...
This was broken by the changes of r64879 which erroneously used
wxRendererNative::DrawItemSelectionRect() even for the non-selected items.
Now only use DrawItemSelectionRect() for the selected items to make them
appear natively while drawing the non-selected items with custom background
colour ourselves.
Also refactor the code to avoid (the not quite and hence especially
pernicious) duplication between wxListLineData::Draw() and DrawInReportMode():
rename SetAttributes() to ApplyAttributes() and draw the item background in
this function now instead of doing it in both Draw() and DrawInReportMode().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-14 13:18:48 +00:00
..
2009-07-25 22:53:23 +00:00
2010-01-18 00:28:11 +00:00
2009-08-21 10:41:26 +00:00
2009-08-21 10:41:26 +00:00
2009-03-07 12:11:17 +00:00
2009-07-23 20:30:22 +00:00
2010-06-21 14:01:59 +00:00
2009-02-19 17:45:09 +00:00
2010-03-05 23:55:19 +00:00
2010-03-22 11:40:19 +00:00
2008-03-26 15:49:31 +00:00
2009-10-16 16:25:43 +00:00
2008-01-31 21:15:31 +00:00
2010-04-18 00:05:37 +00:00
2009-09-05 12:39:12 +00:00
2010-08-17 14:48:50 +00:00
2010-08-10 12:53:03 +00:00
2010-09-10 19:42:23 +00:00
2010-07-13 13:29:13 +00:00
2009-12-02 17:28:45 +00:00
2010-08-23 07:50:00 +00:00
2010-08-21 10:17:13 +00:00
2010-04-18 00:05:37 +00:00
2010-06-20 18:18:23 +00:00
2009-12-02 17:28:45 +00:00
2010-04-18 00:05:37 +00:00
2010-05-29 10:35:47 +00:00
2010-04-18 00:05:37 +00:00
2010-03-08 19:37:08 +00:00
2010-04-18 00:05:37 +00:00
2010-04-12 00:37:02 +00:00
2009-10-22 11:35:43 +00:00
2010-06-02 11:58:25 +00:00
2010-08-30 22:18:52 +00:00
2010-04-22 11:20:50 +00:00
2010-06-20 17:42:52 +00:00
2009-04-09 09:01:02 +00:00
2010-02-28 11:08:42 +00:00
2010-06-20 18:18:23 +00:00
2010-07-13 13:29:13 +00:00
2010-08-17 16:55:32 +00:00
2008-01-14 18:16:37 +00:00
2009-07-23 20:30:22 +00:00
2010-03-03 07:17:18 +00:00
2009-02-07 18:59:25 +00:00
2010-03-05 23:55:19 +00:00
2010-09-14 13:18:48 +00:00
2010-01-26 12:33:34 +00:00
2010-06-20 18:18:23 +00:00
2010-08-30 21:48:25 +00:00
2009-01-28 13:41:43 +00:00
2009-09-24 12:36:34 +00:00
2010-04-18 00:05:37 +00:00
2010-09-03 19:33:18 +00:00
2009-08-21 10:41:26 +00:00
2010-08-10 21:48:17 +00:00
2010-08-18 22:49:02 +00:00
2010-04-18 00:05:37 +00:00
2010-09-10 17:26:11 +00:00
2010-04-18 00:05:37 +00:00
2009-10-08 22:38:18 +00:00
2010-07-13 13:29:13 +00:00
2010-08-19 15:41:24 +00:00
2009-02-07 18:59:25 +00:00
2010-07-11 10:43:35 +00:00
2009-07-23 20:30:22 +00:00
2010-07-22 13:42:38 +00:00
2009-05-09 12:22:45 +00:00
2010-04-20 05:01:39 +00:00
2010-07-13 13:29:13 +00:00
2009-12-18 14:46:44 +00:00
2009-12-08 15:56:21 +00:00
2009-10-16 21:32:51 +00:00
2009-01-19 13:55:27 +00:00
2010-04-18 00:05:37 +00:00
2010-06-20 18:18:23 +00:00
2010-04-18 00:05:37 +00:00
2009-07-23 20:30:22 +00:00
2010-03-05 23:55:19 +00:00
2010-03-05 23:55:19 +00:00
2010-06-20 17:43:06 +00:00
2010-07-13 13:29:13 +00:00
2010-03-28 14:37:30 +00:00
2010-01-25 18:48:21 +00:00