wxWidgets/include/wx
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
..
aui No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
cocoa No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
dfb No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
generic Really fix VC6 compilation after r61919. 2009-09-15 17:05:13 +00:00
gtk 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
gtk1 No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
html
meta No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
mgl No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
motif Add wxUSE_RIBBON to wx/setup_inc.h and wx/chkconf.h. 2009-09-18 22:16:59 +00:00
msdos
msw Account for the margins used by Windows around status bar text. 2009-09-21 13:00:36 +00:00
os2 wxAny initial commit (closes #10932) 2009-09-19 08:51:11 +00:00
osx moving themeing include to private.h 2009-09-21 12:57:12 +00:00
palmos wxAny initial commit (closes #10932) 2009-09-19 08:51:11 +00:00
persist
private Cleanly separate GUI socket-related code from net library. 2009-08-17 23:02:46 +00:00
propgrid Added dummy wxPG_THEME_BORDER style for backwards compatibility 2009-09-14 15:17:50 +00:00
protocol
ribbon Added missing includes 2009-09-17 08:18:52 +00:00
richtext wxRTC's own caret is more reliable than the generic one, so use it. 2009-09-14 15:52:48 +00:00
stc
univ wxAny initial commit (closes #10932) 2009-09-19 08:51:11 +00:00
unix No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
x11 No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
xml
xrc Use UTF-8 for all non-ASCII characters in the sources. 2009-09-18 16:16:12 +00:00
aboutdlg.h
accel.h
access.h
afterstd.h
anidecod.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
animate.h
animdecod.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
any.h Put wxAny implementation entirely in the header. 2009-09-20 12:37:16 +00:00
anystr.h
app.h Define wxDEBUG_LEVEL in both debug and release builds as 1. 2009-09-12 11:28:52 +00:00
apptrait.h
archive.h
arrimpl.cpp
arrstr.h
artprov.h
atomic.h
base64.h
beforestd.h
bitmap.h
bmpbuttn.h
bmpcbox.h
bookctrl.h
brush.h
buffer.h
build.h Define wxDEBUG_LEVEL in both debug and release builds as 1. 2009-09-12 11:28:52 +00:00
busyinfo.h
button.h
cairo.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
calctrl.h
caret.h
chartype.h Use UTF-8 for all non-ASCII characters in the sources. 2009-09-18 16:16:12 +00:00
checkbox.h
checkeddelete.h
checklst.h
chkconf.h wxAny initial commit (closes #10932) 2009-09-19 08:51:11 +00:00
choicdlg.h
choice.h
choicebk.h
clipbrd.h
clntdata.h
clrpicker.h
cmdargs.h
cmdline.h
cmdproc.h
cmndata.h
collpane.h
colordlg.h
colour.h Add wxColour::{Set,Get}RGB[A](). 2009-09-19 16:29:50 +00:00
combo.h fixed typo : wxDEPRECTED -> wxDEPRECATED 2009-09-07 12:14:21 +00:00
combobox.h
confbase.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
config.h
containr.h
control.h
convauto.h
cpp.h
cppunit.h
crt.h
cshelp.h
ctrlsub.h
cursor.h
dataobj.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
dataview.h
datectrl.h
dateevt.h
datetime.h Use UTF-8 for all non-ASCII characters in the sources. 2009-09-18 16:16:12 +00:00
datstrm.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
dc.h
dcbuffer.h
dcclient.h
dcgraph.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
dcmirror.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
dcprint.h
dcps.h
dcscreen.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
dcsvg.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
dde.h
debug.h Define wxDEBUG_LEVEL in both debug and release builds as 1. 2009-09-12 11:28:52 +00:00
debugrpt.h Allow customizing wxDebugReportCompress output file. 2009-08-14 00:06:03 +00:00
defs.h adding types for OpenGL on iPhone 2009-09-13 17:45:21 +00:00
dialog.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
dialup.h
dir.h
dirctrl.h
dirdlg.h
display_impl.h
display.h
dlimpexp.h Merged GSOC Ribbon work from SOC2009_RIBBON branch into trunk. 2009-09-16 12:06:02 +00:00
dlist.h
dnd.h
docmdi.h
docview.h
dragimag.h
dynarray.h
dynlib.h
dynload.h
editlbox.h
effects.h
encconv.h
encinfo.h
event.h Make WXK_NUMPAD_TAB member of WXK_CATEGORY_TAB. 2009-08-23 21:39:32 +00:00
evtloop.h
except.h
fdrepdlg.h
features.h
ffile.h
file.h
fileconf.h
filectrl.h
filedlg.h
filefn.h
filename.h
filepicker.h
filesys.h
flags.h
fmappriv.h
font.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
fontdlg.h
fontenc.h
fontenum.h
fontmap.h
fontpicker.h
fontutil.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
frame.h
fs_arc.h
fs_filter.h
fs_inet.h
fs_mem.h
fs_zip.h
gauge.h
gbsizer.h
gdicmn.h
gdiobj.h
geometry.h
gifdecod.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
glcanvas.h adding glFrustum to compat API, supporting SetColour on OpenGL ES 2009-09-14 08:37:23 +00:00
graphics.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
grid.h
hash.h
hashmap.h
hashset.h
headercol.h
headerctrl.h
help.h
helpbase.h
helphtml.h
helpwin.h
htmllbox.h
hyperlink.h
icon.h
iconbndl.h
iconloc.h
imagbmp.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
image.h Add support for bilinear resize algorithm to wxImage. 2009-08-30 21:11:37 +00:00
imaggif.h
imagiff.h
imagjpeg.h
imaglist.h
imagpcx.h
imagpng.h
imagpnm.h
imagtga.h
imagtiff.h
imagxpm.h
init.h
intl.h
iosfwrap.h
ioswrap.h
ipc.h
ipcbase.h
joystick.h
kbdstate.h
layout.h
laywin.h
link.h
list.h Change return type of wxList::Member() to bool. 2009-09-18 17:10:58 +00:00
listbase.h
listbook.h
listbox.h
listctrl.h
listimpl.cpp
log.h Define wxDEBUG_LEVEL in both debug and release builds as 1. 2009-09-12 11:28:52 +00:00
longlong.h
math.h
matrix.h
mdi.h
mediactrl.h
memconf.h
memory.h
memtext.h
menu.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
menuitem.h
metafile.h
mimetype.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
minifram.h
module.h
mousemanager.h
mousestate.h
msgdlg.h
msgout.h
msgqueue.h
mstream.h
nativewin.h
nonownedwnd.h
notebook.h
notifmsg.h
numdlg.h
object.h
odcombo.h
overlay.h
ownerdrw.h
palette.h
panel.h
paper.h
pen.h
persist.h
pickerbase.h
platform.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
platinfo.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
popupwin.h
position.h
power.h
print.h
printdlg.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
prntbase.h
process.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
progdlg.h
propdlg.h
ptr_scpd.h
ptr_shrd.h
quantize.h
radiobox.h
radiobut.h
rawbmp.h
rearrangectrl.h
recguard.h
regex.h
region.h
renderer.h Rename wxRendererNative::DrawRadioButton() to DrawRadioBitmap(). 2009-08-20 00:44:22 +00:00
sashwin.h
sckaddr.h
sckipc.h
sckstrm.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
scopedarray.h
scopedptr.h
scopeguard.h
scrolbar.h
scrolwin.h
selstore.h
settings.h
setup_gccxml.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
setup_inc.h wxAny initial commit (closes #10932) 2009-09-19 08:51:11 +00:00
setup_redirect.h
sharedptr.h
sizer.h Change wxBoxSizer::AddSpacer() to only add space in sizer direction. 2009-09-15 17:05:32 +00:00
slider.h
snglinst.h Allow creating wxSingleInstanceChecker with default name. 2009-09-16 12:38:00 +00:00
socket.h wxSocket::Initialize() and Shutdown() are for main thread only. 2009-09-21 08:44:35 +00:00
sound.h
spinbutt.h
spinctrl.h
splash.h
splitter.h
srchctrl.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
sstream.h
stack.h
stackwalk.h
statbmp.h
statbox.h
statline.h
stattext.h
statusbr.h
stdpaths.h
stdstream.h
stockitem.h
stopwatch.h
strconv.h Add convenient wxMBConv::cMB2WC/WC2MB overloads taking buffers. 2009-09-12 22:40:25 +00:00
stream.h
string.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
stringimpl.h
stringops.h
strvararg.h
sysopt.h
tarstrm.h
taskbar.h
tbarbase.h
textbuf.h
textctrl.h
textdlg.h
textentry.h Compilation fix after wxTextEntry::SetMargins() changes. 2009-09-06 14:31:17 +00:00
textfile.h
textwrapper.h
tglbtn.h
thread.h
thrimpl.cpp
timer.h
tipdlg.h
tipwin.h
tls.h
tokenzr.h
toolbar.h
toolbook.h
tooltip.h
toplevel.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
tracker.h
treebase.h
treebook.h
treectrl.h
txtstrm.h
types.h
unichar.h
uri.h
url.h
ustring.h
utils.h Optionally return length from wxLoadUserResource(). 2009-09-19 16:29:57 +00:00
valgen.h
validate.h
valtext.h
variant.h
vector.h
version.h
vidmode.h
vlbox.h
vms_x_fix.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
volume.h
vscroll.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
weakref.h
wfstream.h
window.h
windowid.h
wizard.h
wrapsizer.h
wupdlock.h
wx_cw_cm.h
wx_cw_d.h
wx_cw.h
wx_cwc_d.h
wx_cwc.h
wx_cwcocoa_cm.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
wx_cwcocoa_d.h
wx_cwcocoa.h
wx_cwu_d.h
wx.h
wxchar.h Use UTF-8 for all non-ASCII characters in the sources. 2009-09-18 16:16:12 +00:00
wxcrt.h
wxcrtbase.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
wxcrtvararg.h Use UTF-8 for all non-ASCII characters in the sources. 2009-09-18 16:16:12 +00:00
wxhtml.h
wxprec.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
wxshlb_cw_d.h
wxshlb_cw.h
wxshlb_cwc_d.h
wxshlb_cwc.h
wxshlba_cw_d.h
wxshlba_cw.h
wxshlba_cwc_d.h
wxshlba_cwc.h
xlocale.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
xpmdecod.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
xpmhand.h
xti.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
xtistrm.h
xtixml.h
zipstrm.h
zstream.h