wxWidgets/include/wx/msw
Vadim Zeitlin 743b426605 Added DoGetClientBestSize() and use it for a couple of controls in wxMSW.
DoGetClientBestSize() returns the best size of the client area, without
accounting for the border which is done by GetBestSize() itself and
DoGetBorderSize() called from it.

Use DoGetClientBestSize() in wxStaticText (where it was done
insideDoGetBestSize() before) and in wxListBox, to fix its height calculation.

Also use correct height of listbox items as returned by the control itself
instead of trying to guess it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-22 20:36:13 +00:00
..
ole
private fix PCH-less build after changing timer id type to WPARAM (closes #10901) 2009-06-16 05:05:20 +00:00
wince enable OpenGL library build by default under Windows too 2009-05-31 12:55:11 +00:00
accel.h
amd64.manifest
app.h
apptbase.h remove wxMSW-specific (but copied into wxPalm too) wxAppTraits::AlwaysYield(), it's useless now that wxEventLoop is in wxBase 2009-05-24 19:39:40 +00:00
apptrait.h remove wxMSW-specific (but copied into wxPalm too) wxAppTraits::AlwaysYield(), it's useless now that wxEventLoop is in wxBase 2009-05-24 19:39:40 +00:00
bitmap.h first round of debug/release merge: introduce wxDEBUG_LEVEL, for now defined as 1 if __WXDEBUG__ is defined, i.e. no real changes; don't use __WXDEBUG__ in the headers to keep debug and release builds ABI-compatible; add functions to customize or disable asserts handling 2009-03-21 23:36:37 +00:00
blank.cur
bmpbuttn.h implement wxBitmapButton as just a wrapper for wxButton under MSW 2009-06-15 23:10:16 +00:00
bmpcbox.h
brush.h
bullseye.cur
button.h implement wxBitmapButton as just a wrapper for wxButton under MSW 2009-06-15 23:10:16 +00:00
calctrl.h
caret.h
cdrom.ico
checkbox.h
checklst.h
child.ico
chkconf.h test whether wxHAS_EVENT_BIND is supported in wx/features.h itself, not wx/chkconf.h as the former is included after the latter and so the check was done too early and wxHAS_EVENT_BIND was always defined 2009-05-03 07:44:44 +00:00
choice.h implement changing wxChoice and wxComboBox height 2009-05-01 21:49:43 +00:00
clipbrd.h
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
dcclient.h
dcmemory.h
dcprint.h
dcscreen.h
dde.h
debughlp.h
dialog.h remove wxMSW-specific FindSuitableParent() and use GetParentForModalDialog() everywhere; extend it with additional checks and remove redundant ones elsewhere 2009-05-09 12:26:15 +00:00
dib.h
dirdlg.h
dragimag.h
drive.ico
enhmeta.h add ability to create wxEnhMetaFileDC based on a reference DC 2009-05-31 19:11:15 +00:00
evtloop.h
fdrepdlg.h
file1.ico
filedlg.h
floppy.ico
folder1.ico
folder2.ico
font.h added convenient wxFont::Make{Bold,Italic,Smaller,Larger} and Scale() methods 2009-06-12 20:11:21 +00:00
fontdlg.h
frame.h use wxSTB_ as prefix for wxStatusBar styles; add support for wxSTB_ELLIPSIZE_* flags under wxGTK; support wxSTB_SHOW_TIPS even if no ellipsization mode is active; update the sample to allow the user to choose the wxStatusBar style dynamically 2009-04-25 12:59:09 +00:00
gauge.h
gccpriv.h
gdiimage.h
genrcdefs.h
glcanvas.h
hand.cur
headerctrl.h
helpbest.h
helpchm.h
helpwin.h
htmlhelp.h
ia64.manifest
icon.h
imaglist.h
iniconf.h add wxUSE_CONFIG checks (see #10560) 2009-03-07 15:49:57 +00:00
joystick.h
libraries.h
listbox.h Added DoGetClientBestSize() and use it for a couple of controls in wxMSW. 2009-06-22 20:36:13 +00:00
listctrl.h optimize FindItem(data) performance (closes #9870) 2009-04-25 22:31:48 +00:00
magnif1.cur
mdi.h don't add client area origin when positioning the child MDI frame 2009-05-31 13:22:45 +00:00
mdi.ico
menu.h
menuitem.h
metafile.h
microwin.h
mimetype.h
minifram.h
missing.h
msgdlg.h
mslu.h
msvcrt.h replace more __WXDEBUG__ occurrences with wxDEBUG_LEVEL 2009-03-22 12:53:48 +00:00
notebook.h
notifmsg.h
palette.h
pbrush.cur
pen.h
pencil.cur
pntleft.cur
pntright.cur
popupwin.h
printdlg.h
printwin.h use enhanced metafiles for wxMSW print preview: this is as accurate as previous code, but much faster (fixes #9970) 2009-05-31 19:15:07 +00:00
private.h added missing parentheses in a couple of GetHxxxOf() macros 2009-06-15 03:35:30 +00:00
question.ico
radiobox.h use wxRA_SPECIFY_COLS/ROWS instead of old, deprecated and confusing wxRA_HORIZONTAL/VERTICAL 2009-06-03 22:33:32 +00:00
radiobut.h
rcdefs.h
regconf.h
region.h
registry.h
removble.ico
rightarr.cur
roller.cur
scrolbar.h
seh.h disable warning about _set_se_translator() requiring /EHa for VC9 too (it was disabled for up to VC8) 2009-06-06 23:27:37 +00:00
setup0.h enable OpenGL library build by default under Windows too 2009-05-31 12:55:11 +00:00
setup_inc.h
slider.h
sound.h
spinbutt.h
spinctrl.h use wxALIGN_LEFT/CENTRE/RIGHT instead of wxTE_XXX to avoid problems with the latter not being defined in wx/spinctrl.h on non-MSW platforms (see #10621) 2009-03-22 10:55:55 +00:00
stackwalk.h
statbmp.h
statbox.h
statline.h
stattext.h Added DoGetClientBestSize() and use it for a couple of controls in wxMSW. 2009-06-22 20:36:13 +00:00
statusbar.h Add support for wxSTB_ELLIPSIZE_* and for wxSTB_SHOW_TIPS flags under wxMSW 2009-04-26 13:37:16 +00:00
std.ico
stdpaths.h allow customizing wxStandardPaths logic for the program directory determination 2009-06-11 16:46:19 +00:00
subwin.h
taskbar.h
textctrl.h
textentry.h
tglbtn.h
tls.h
toolbar.h
tooltip.h Compilo 2009-04-28 09:39:52 +00:00
toplevel.h
treectrl.h implement wxTreeCtrl::GetFocusedItem() for wxMSW too (see #10859) 2009-06-19 23:48:50 +00:00
uxtheme.h
uxthemep.h
window.h Added DoGetClientBestSize() and use it for a couple of controls in wxMSW. 2009-06-22 20:36:13 +00:00
winundef.h
wrapcctl.h
wrapcdlg.h
wrapgdip.h
wrapshl.h
wrapwin.h
wx.manifest
wx.rc