wxWidgets/include/wx/msw
Vadim Zeitlin edd608b18a Account for the margins used by Windows around status bar text.
Because Windows uses margins around the text drawn in the status bar, naively
setting a field width to the size of the text didn't work (see previous
commit for an example). As this seems a natural enough thing to do, account
for this margin inside wxStatusBar itself to avoid the user code the trouble
of having to call some special function to do it. Notice that this does mean
that fields not containing text may be slightly larger than needed, but we
consider that this (rarer) case is less important.

Also account correctly for the status bar grip size. And while we still hard
code its size, do it in a clearly named function instead of using completely
mysterious constants here and there.

Closes #10696.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-21 13:00:36 +00:00
..
ole Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
private Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
wince wxAny initial commit (closes #10932) 2009-09-19 08:51:11 +00:00
accel.h
amd64.manifest
app.h Define wxDEBUG_LEVEL in both debug and release builds as 1. 2009-09-12 11:28:52 +00:00
apptbase.h
apptrait.h
bitmap.h
blank.cur
bmpbuttn.h
bmpcbox.h
brush.h
bullseye.cur
button.h
calctrl.h
caret.h
cdrom.ico
checkbox.h
checklst.h
child.ico
chkconf.h
choice.h
clipbrd.h Include wx/dataobj.h from wx/clipbrd.h. 2009-07-20 23:54:08 +00:00
colordlg.h
colour.h
colours.bmp
combo.h
combobox.h
computer.ico
control.h
crashrpt.h
cross.cur
csquery.bmp
ctrlsub.h
cursor.h
datectrl.h
dc.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
dcclient.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
dcmemory.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
dcprint.h
dcscreen.h
dde.h
debughlp.h
dialog.h
dib.h
dirdlg.h
dragimag.h
drive.ico
enhmeta.h
evtloop.h
fdrepdlg.h
file1.ico
filedlg.h
floppy.ico
folder1.ico
folder2.ico
font.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
fontdlg.h
frame.h
gauge.h
gccpriv.h
gdiimage.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
genrcdefs.h
glcanvas.h
hand.cur
headerctrl.h
helpbest.h
helpchm.h
helpwin.h
htmlhelp.h
ia64.manifest
icon.h
imaglist.h
iniconf.h
joystick.h
libraries.h
listbox.h
listctrl.h
magnif1.cur
mdi.h Initialize wxMDIParentFrame::m_accelWindowMenu in default ctor. 2009-09-21 08:44:42 +00:00
mdi.ico
menu.h
menuitem.h
metafile.h
microwin.h
mimetype.h
minifram.h
missing.h
msgdlg.h
mslu.h
msvcrt.h
notebook.h
notifmsg.h
palette.h
pbrush.cur
pen.h
pencil.cur
pntleft.cur
pntright.cur
popupwin.h
printdlg.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
printwin.h
private.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
question.ico
radiobox.h
radiobut.h
rcdefs.h
regconf.h
region.h
registry.h
removble.ico
rightarr.cur
roller.cur
scrolbar.h
seh.h
setup0.h wxAny initial commit (closes #10932) 2009-09-19 08:51:11 +00:00
setup_inc.h
slider.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
sound.h
spinbutt.h
spinctrl.h Use correct visual attributes for wxSpinCtrl. 2009-09-08 12:23:06 +00:00
stackwalk.h
statbmp.h
statbox.h
statline.h
stattext.h
statusbar.h Account for the margins used by Windows around status bar text. 2009-09-21 13:00:36 +00:00
std.ico
stdpaths.h Added wxStandardPaths::MSWGetShellDir(). 2009-08-14 00:05:56 +00:00
subwin.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
taskbar.h
textctrl.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
textentry.h wxTextEntry::SetMargins(), GetMargins() - implemented on wxMSW and wxGTK (GTK+ 2.10+); also added similar functions into wxComboCtrl, deprecated old indent-functions; wxPropertyGrid modified to use the new functionality 2009-09-05 12:39:12 +00:00
tglbtn.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
tls.h
toolbar.h
tooltip.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
toplevel.h
treectrl.h Fix selection events generation in multi-select wxTreeCtrl. 2009-08-30 17:24:53 +00:00
uxtheme.h
uxthemep.h
window.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
winundef.h
wrapcctl.h
wrapcdlg.h
wrapgdip.h
wrapshl.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
wrapwin.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
wx.manifest
wx.rc