wxWidgets/include/wx/generic
Vadim Zeitlin a6f1201f97 Handle cell alignment in the renderer itself in generic wxDVC.
Instead of using wxDataViewRenderer::GetSize() and rendering the cell into the
appropriate part of the rectangle, pass the full rectangle and the alignment
of the cell contents in it to the renderer itself.

This fixes the bug with bold text being truncated in the "attributes" column
of the dataview sample and is also generally more flexible as the renderer may
decide itself what to do with the extra space.

It also somewhat reduces the code duplication between CreateItemBitmap() and
OnPaint().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-12 22:44:03 +00:00
..
private Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
aboutdlgg.h add parent parameter to wxAboutBox() (closes #9952) 2009-04-26 13:41:21 +00:00
accel.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
animate.h allow loading wxAnimationCtrl contents from stream (patch 1962344) 2008-05-17 22:51:52 +00:00
bmpcbox.h Ticket #9641: wxBitmapComboBox_SetFont.patch, making it public 2008-06-27 13:47:45 +00:00
busyinfo.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
buttonbar.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
calctrlg.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
caret.h Cleanup of previous fix 2008-08-22 11:32:23 +00:00
choicdgg.h replace wxGetMultipleChoices() with wxGetSelectedChoices() which allows to distinguish between cancelling the dialog and not selecting any items in it (closes #10057) 2009-03-07 15:39:09 +00:00
clrpickerg.h Compilo 2007-12-08 17:55:37 +00:00
collpaneg.h blind fix for wxMac 2009-02-01 20:59:03 +00:00
colour.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
colrdlgg.h don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither 2009-01-19 13:55:27 +00:00
combo.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
ctrlsub.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
dataview.h Handle cell alignment in the renderer itself in generic wxDVC. 2009-10-12 22:44:03 +00:00
datectrl.h removed wxDatePickerCtrlGeneric::SetFormat() which didn't exist but was declared and documented (closes #10988) 2009-07-19 16:49:29 +00:00
dcpsg.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
dirctrlg.h Compilation fix for wxUSE_FILECTRL && !(wxUSE_DIRDLG || wxUSE_FILEDLG). 2009-08-03 20:45:07 +00:00
dirdlgg.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
dragimgg.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
fdrepdlg.h just fix some $Id$ tokens 2009-01-11 11:58:34 +00:00
filectrlg.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
filedlgg.h add size parameter to the generic wxFileDialog ctor 2008-12-04 23:14:00 +00:00
filepickerg.h require semicolon after wxDECLARE/DEFINE_EVENT() (closes #10456) 2009-02-07 18:59:25 +00:00
fontdlgg.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
fontpickerg.h wxFontData doesn't need to be static in wxGenericFontButton (unlike wxColourData in wxGenericColourButton where it was copied from) (patch 1883375) 2008-02-03 21:32:11 +00:00
grid.h Extract default grid header renderers from wxGridCellAttrProvider. 2009-09-23 14:28:55 +00:00
gridctrl.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
grideditors.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
gridsel.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
headerctrlg.h Remove remaining bits of marker drawing during resizing 2009-06-12 16:15:35 +00:00
helpext.h don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither 2009-01-19 13:55:27 +00:00
hyperlink.h use full repaint style instead of size event 2007-03-08 04:27:29 +00:00
icon.h compilation fix after last change 2008-12-31 15:27:00 +00:00
imaglist.h Make wxImageList not copiable (fixes #10503), replace wxList with wxObjectList 2009-02-19 20:26:00 +00:00
infobar.h Determine the appropriate show effect automatically in wxInfoBar. 2009-10-05 22:57:45 +00:00
laywin.h require semicolon after wxDECLARE/DEFINE_EVENT() (closes #10456) 2009-02-07 18:59:25 +00:00
listctrl.h implement Update() properly for the generic wxListCtrl (see #10857) 2009-05-30 22:25:42 +00:00
logg.h Changed wxLog DoLogXXX() callbacks and introduced wxLogRecordInfo. 2009-07-08 13:47:33 +00:00
mask.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
mdig.h deprecate the old TryValidator/Parent() and replace them with the new and documented TryBefore/After() 2009-02-26 16:16:31 +00:00
msgdlgg.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
notebook.h use a single wxBookCtrlEvent class for all wxBookCtrlBase-derived controls (#9667) 2008-08-01 13:46:46 +00:00
notifmsg.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
numdlgg.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
paletteg.h Fix Ok/IsOk() mess in wxGDIObject-derived classes; also added 2007-12-15 17:54:20 +00:00
panelg.h make wxWindow::SetAutoLayout() now works for all windows, not just panels 2009-05-23 11:26:58 +00:00
printps.h don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither 2009-01-19 13:55:27 +00:00
prntdlgg.h don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither 2009-01-19 13:55:27 +00:00
progdlgg.h add wxProgressDialog::SetRange() function 2009-06-01 23:19:25 +00:00
propdlg.h Removed extraneous semicolons and commas (partly fixes #10456). 2009-02-01 04:48:19 +00:00
region.h Add (currently unimplemented) missing wxRegion constructors for wxRegionGeneric. 2009-02-07 23:20:45 +00:00
sashwin.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
scrolwin.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
spinctlg.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
splash.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
splitter.h wxSplitterWindow mouse capture improvements and cleanup. 2009-08-05 17:25:27 +00:00
srchctlg.h remove SetValue() which is not needed and which definition was removed by the previous change 2009-03-02 14:49:55 +00:00
statbmpg.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
statline.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
stattextg.h compilation fix for include wx/generic/stattextg.h before/without including wx/stattext.h in PCH-less wxUniv build 2008-10-17 12:02:47 +00:00
statusbr.h Don't pop explicitly changed status messages. 2009-08-06 00:01:43 +00:00
tabg.h don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither 2009-01-19 13:55:27 +00:00
textdlgg.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
treectlg.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
wizard.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00