wxWidgets/samples
Vadim Zeitlin cfbc15ee04 Allow changing horizontal alignment of numeric cells in wxGrid.
wxGridCellAttr didn't provide any way to query its alignment attributes
without falling back to the (always defined) default alignment so the code in
wxGridCellNumberRenderer and similar classes simply always used right
alignment,

Add a new wxGridCellAttr::GetNonDefaultAlignment() function which allows to
retrieve the alignment defined in the attribute and use it to use right
alignment by default but allow overriding it.

Add a test to the sample showing a non right-aligned numeric cell.

Incidentally fix a long-standing bug in wxGridCell{DateTime,Enum}Renderers
which used wxRIGHT instead of wxALIGN_RIGHT and so were not aligned properly
even by default.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-27 01:47:38 +00:00
..
access Rebake after last commit. 2009-11-18 19:22:58 +00:00
animate Rebake after last commit. 2009-11-18 19:22:58 +00:00
artprov Rebake after last commit. 2009-11-18 19:22:58 +00:00
aui Rebake after last commit. 2009-11-18 19:22:58 +00:00
calendar Rebake after last commit. 2009-11-18 19:22:58 +00:00
caret Rebake after last commit. 2009-11-18 19:22:58 +00:00
clipboard Rebake after last commit. 2009-11-18 19:22:58 +00:00
collpane Rebake after last commit. 2009-11-18 19:22:58 +00:00
combo Rebake after last commit. 2009-11-18 19:22:58 +00:00
config Rebake after last commit. 2009-11-18 19:22:58 +00:00
console Rebake after last commit. 2009-11-18 19:22:58 +00:00
controls Rebake after last commit. 2009-11-18 19:22:58 +00:00
dataview Rebake after last commit. 2009-11-18 19:22:58 +00:00
debugrpt Rebake after last commit. 2009-11-18 19:22:58 +00:00
dialogs Rebake after last commit. 2009-11-18 19:22:58 +00:00
dialup Rebake after last commit. 2009-11-18 19:22:58 +00:00
display Rebake after last commit. 2009-11-18 19:22:58 +00:00
dnd Rebake after last commit. 2009-11-18 19:22:58 +00:00
docview Rebake after last commit. 2009-11-18 19:22:58 +00:00
dragimag Rebake after last commit. 2009-11-18 19:22:58 +00:00
drawing Rebake after last commit. 2009-11-18 19:22:58 +00:00
erase Rebake after last commit. 2009-11-18 19:22:58 +00:00
event Rebake after last commit. 2009-11-18 19:22:58 +00:00
except Rebake after last commit. 2009-11-18 19:22:58 +00:00
exec Rebake after last commit. 2009-11-18 19:22:58 +00:00
flash Rebake after last commit. 2009-11-18 19:22:58 +00:00
font Rebake after last commit. 2009-11-18 19:22:58 +00:00
fswatcher Rebake after last commit. 2009-11-18 19:22:58 +00:00
grid Allow changing horizontal alignment of numeric cells in wxGrid. 2009-11-27 01:47:38 +00:00
help Rebake after last commit. 2009-11-18 19:22:58 +00:00
htlbox Rebake after last commit. 2009-11-18 19:22:58 +00:00
html Rebake after last commit. 2009-11-18 19:22:58 +00:00
image Rebake after last commit. 2009-11-18 19:22:58 +00:00
internat Rebake after last commit. 2009-11-18 19:22:58 +00:00
ipc Rebake after last commit. 2009-11-18 19:22:58 +00:00
joytest Rebake after last commit. 2009-11-18 19:22:58 +00:00
keyboard Rebake after last commit. 2009-11-18 19:22:58 +00:00
layout Rebake after last commit. 2009-11-18 19:22:58 +00:00
listctrl Fix wxListCtrl::GetSubItemRect(wxLIST_RECT_ICON/LABEL) in wxMSW for column 0. 2009-11-24 00:01:38 +00:00
mdi Rebake after last commit. 2009-11-18 19:22:58 +00:00
mediaplayer Rebake after last commit. 2009-11-18 19:22:58 +00:00
memcheck Rebake after last commit. 2009-11-18 19:22:58 +00:00
menu Rebake after last commit. 2009-11-18 19:22:58 +00:00
mfc Rebake after last commit. 2009-11-18 19:22:58 +00:00
minimal Rebake after last commit. 2009-11-18 19:22:58 +00:00
nativdlg Rebake after last commit. 2009-11-18 19:22:58 +00:00
notebook Rebake after last commit. 2009-11-18 19:22:58 +00:00
oleauto Rebake after last commit. 2009-11-18 19:22:58 +00:00
opengl Rebake after last commit. 2009-11-18 19:22:58 +00:00
ownerdrw Rebake after last commit. 2009-11-18 19:22:58 +00:00
popup Rebake after last commit. 2009-11-18 19:22:58 +00:00
power Rebake after last commit. 2009-11-18 19:22:58 +00:00
printing Rebake after last commit. 2009-11-18 19:22:58 +00:00
propgrid Rebake after last commit. 2009-11-18 19:22:58 +00:00
regtest Rebake after last commit. 2009-11-18 19:22:58 +00:00
render Rebake after last commit. 2009-11-18 19:22:58 +00:00
ribbon Rebake after last commit. 2009-11-18 19:22:58 +00:00
richtext Rebake after last commit. 2009-11-18 19:22:58 +00:00
sashtest Rebake after last commit. 2009-11-18 19:22:58 +00:00
scroll Rebake after last commit. 2009-11-18 19:22:58 +00:00
shaped Rebake after last commit. 2009-11-18 19:22:58 +00:00
sockets Rebake after last commit. 2009-11-18 19:22:58 +00:00
sound Rebake after last commit. 2009-11-18 19:22:58 +00:00
splash Rebake after last commit. 2009-11-18 19:22:58 +00:00
splitter Rebake after last commit. 2009-11-18 19:22:58 +00:00
statbar Rebake after last commit. 2009-11-18 19:22:58 +00:00
stc Rebake after last commit. 2009-11-18 19:22:58 +00:00
svg Rebake after last commit. 2009-11-18 19:22:58 +00:00
taborder Rebake after last commit. 2009-11-18 19:22:58 +00:00
taskbar Rebake after last commit. 2009-11-18 19:22:58 +00:00
text Use wxTE_RICH style for the log window in the text sample. 2009-11-26 15:59:20 +00:00
thread Rebake after last commit. 2009-11-18 19:22:58 +00:00
toolbar Rebake after last commit. 2009-11-18 19:22:58 +00:00
treectrl Rebake after last commit. 2009-11-18 19:22:58 +00:00
typetest Rebake after last commit. 2009-11-18 19:22:58 +00:00
validate Rebake after last commit. 2009-11-18 19:22:58 +00:00
vscroll Rebake after last commit. 2009-11-18 19:22:58 +00:00
widgets Rebake after last commit. 2009-11-18 19:22:58 +00:00
wizard Rebake after last commit. 2009-11-18 19:22:58 +00:00
wrapsizer Rebake after last commit. 2009-11-18 19:22:58 +00:00
xrc Rebake after last commit. 2009-11-18 19:22:58 +00:00
Info.plist
makefile.bcc Rebake after last commit. 2009-11-18 19:22:58 +00:00
makefile.gcc Rebake after last commit. 2009-11-18 19:22:58 +00:00
Makefile.in
makefile.vc Rebake after last commit. 2009-11-18 19:22:58 +00:00
makefile.wat Rebake after last commit. 2009-11-18 19:22:58 +00:00
sample.ico
sample.r making proper resource-fork apps 2007-05-05 17:22:09 +00:00
sample.rc
sample.xpm made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384) 2008-01-16 01:39:44 +00:00
samples.bkl Add ribbon sample to the list of samples to build. 2009-09-16 23:18:55 +00:00
samples.dsw Add ribbon sample to the list of samples to build. 2009-09-16 23:18:55 +00:00