Vadim Zeitlin
62265c2c67
Allow custom wxDataViewCtrl renderers to easily use attributes.
...
Set up the DC passed to wxDataViewCustomRenderer::Render() to use the font and
colour defined by the item attribute by default so that any calls to
RenderText() from it will use them automatically.
Also added public wxDataViewCustomRenderer::GetAttr() to allow retrieving the
attribute explicitly in Render().
The column using custom renderer in the dataview sample now works as expected
in the generic version; the native ones will be corrected in the upcoming
commits.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-10 17:41:11 +00:00
..
2009-07-23 20:30:22 +00:00
2009-04-26 13:41:21 +00:00
2008-03-26 15:06:00 +00:00
2008-05-17 22:51:52 +00:00
2008-06-27 13:47:45 +00:00
2009-02-08 11:45:59 +00:00
2008-03-26 15:06:00 +00:00
2009-07-23 20:30:22 +00:00
2008-08-22 11:32:23 +00:00
2009-03-07 15:39:09 +00:00
2007-12-08 17:55:37 +00:00
2009-02-01 20:59:03 +00:00
2008-03-26 15:06:00 +00:00
2009-01-19 13:55:27 +00:00
2009-07-23 20:30:22 +00:00
2009-02-08 11:45:59 +00:00
2009-11-10 17:40:58 +00:00
2009-07-19 16:49:29 +00:00
2009-08-21 10:41:26 +00:00
2009-08-03 20:45:07 +00:00
2008-03-26 15:06:00 +00:00
2009-02-08 11:45:59 +00:00
2009-11-10 17:41:11 +00:00
2009-11-10 17:41:11 +00:00
2009-01-11 11:58:34 +00:00
2008-03-26 15:06:00 +00:00
2008-12-04 23:14:00 +00:00
2009-02-07 18:59:25 +00:00
2008-03-26 15:06:00 +00:00
2008-02-03 21:32:11 +00:00
2009-10-22 11:35:43 +00:00
2009-09-23 14:28:55 +00:00
2009-07-23 20:30:22 +00:00
2009-07-23 20:30:22 +00:00
2009-02-08 11:45:59 +00:00
2009-06-12 16:15:35 +00:00
2009-01-19 13:55:27 +00:00
2008-12-31 15:27:00 +00:00
2009-02-19 20:26:00 +00:00
2009-10-05 22:57:45 +00:00
2009-02-07 18:59:25 +00:00
2009-05-30 22:25:42 +00:00
2009-07-08 13:47:33 +00:00
2008-03-26 15:06:00 +00:00
2009-02-26 16:16:31 +00:00
2008-03-26 15:06:00 +00:00
2008-08-01 13:46:46 +00:00
2009-02-08 11:45:59 +00:00
2009-02-08 11:45:59 +00:00
2007-12-15 17:54:20 +00:00
2009-05-23 11:26:58 +00:00
2009-01-19 13:55:27 +00:00
2009-01-19 13:55:27 +00:00
2009-06-01 23:19:25 +00:00
2009-02-01 04:48:19 +00:00
2009-02-07 23:20:45 +00:00
2009-02-08 11:45:59 +00:00
2009-02-08 11:45:59 +00:00
2009-11-10 17:36:53 +00:00
2009-02-08 11:45:59 +00:00
2009-08-05 17:25:27 +00:00
2009-03-02 14:49:55 +00:00
2009-08-21 10:41:26 +00:00
2008-03-26 15:06:00 +00:00
2008-10-17 12:02:47 +00:00
2009-08-06 00:01:43 +00:00
2009-01-19 13:55:27 +00:00
2009-02-08 11:45:59 +00:00
2009-08-21 10:41:26 +00:00
2009-02-08 11:45:59 +00:00