wxWidgets/include/wx/generic
Julian Smart 844adaa47a Provided GetBestVirtualSize and DoGetBestSize implementations for
generic and GTK+ wxScrolledWindow.

wxWindowBase::DoGetBestSize was returning a virtual size if there were child
controls, which was then used to set the scrolled window actual size.
Similarly, wxWindowBase::GetBestVirtualSize was returning
the actual window size; now we return the virtual size
for dimensions that have scrolling (e.g. vertical scrolling
direction), or the minimum/actual size for those that don't
(e.g. the maximum control width if there is no horizontal
scrolling).

This allows the scrolled window to be properly sized, whereas
before it would start off at the virtual size (giving
enormous layouts).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 21:21:45 +00:00
..
.cvsignore Just ignore CVS. It's better for you. 1999-06-07 19:41:37 +00:00
accel.h Fix to FIXME: better nothing than broken comparison. 2004-12-03 15:38:35 +00:00
calctrl.h Layout fixes due to measuring with the wrong font. Also added 2004-06-30 21:49:17 +00:00
caret.h update the caret bitmap size in EVT_SIZE (patch 990361) 2004-07-25 16:32:24 +00:00
choicdgg.h wxDefaultSize.* and wxDefaultPosition.* to wxDefaultCoord. 2004-07-20 10:09:47 +00:00
colrdlgg.h wxUSE_SLIDER=0 fixes. 2004-11-24 16:08:12 +00:00
datectrl.h bug fixes for using wxTransientPopupWindow and wxDP_ALLOWNONE support from Andreas Pflug 2005-02-13 12:44:14 +00:00
dcpsg.h Removed Pango homemade implementation and 2004-10-27 22:55:30 +00:00
dirctrlg.h Warning fixes for MinGW. 2005-01-21 18:26:01 +00:00
dirdlgg.h Warning fixes for MinGW. 2005-01-21 18:26:01 +00:00
dragimgg.h Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces. 2004-06-17 16:22:36 +00:00
fdrepdlg.h Use old licence name 2004-05-23 20:53:33 +00:00
filedlgg.h init member variables properly (patch 1156088) 2005-03-08 00:29:56 +00:00
fontdlgg.h Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces. 2004-06-17 16:22:36 +00:00
grid.h Missing casts to event handling functions. 2005-03-09 16:29:59 +00:00
gridctrl.h Common default datetime formats. 2005-01-17 21:29:23 +00:00
gridsel.h Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces. 2004-06-17 16:22:36 +00:00
helpext.h Licence correction 2004-11-22 20:28:28 +00:00
imaglist.h Fixes 2005-02-27 10:54:09 +00:00
laywin.h clipping for wxMac cleaned up 2004-09-26 14:05:31 +00:00
listctrl.h Semicolon fixes. 2005-02-08 12:37:49 +00:00
logg.h allow to use any window, not just wxFrame, as wxLogFrame parent (patch from Paul Gammans) 2004-09-14 15:15:24 +00:00
mdig.h Warning fixes for MinGW. 2005-01-21 18:26:01 +00:00
msgdlgg.h Base for wxMessageDialog with common checks for style. 2005-03-11 15:34:42 +00:00
notebook.h Common default notebook name. 2005-01-13 20:30:21 +00:00
numdlgg.h Use old licence name 2004-05-23 20:53:33 +00:00
paletteg.h wxPaletteBase introduction. wxPalette::GetColoursCount() in interface of all platforms. wxColourMap definition centralized and 2.4 only. Source cleaning. 2004-12-08 17:43:18 +00:00
panelg.h Warning fixes for MinGW. 2005-01-21 18:26:01 +00:00
printps.h Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces. 2004-06-17 16:22:36 +00:00
prntdlgg.h Fix to FIXME removal for dummies ;-) 2004-12-06 17:37:31 +00:00
progdlgg.h Removed all duplicated and complicated #ifdefs for enabling Skip and Abort in progress dialog (Smartphone fixes). 2005-01-05 18:37:42 +00:00
propdlg.h Added wxPropertySheetDialog for implementing settings dialogs 2005-03-14 22:40:44 +00:00
region.h Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces. 2004-06-17 16:22:36 +00:00
sashwin.h Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces. 2004-06-17 16:22:36 +00:00
scrolwin.h Provided GetBestVirtualSize and DoGetBestSize implementations for 2005-03-17 21:21:45 +00:00
spinctlg.h Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces. 2004-06-17 16:22:36 +00:00
splash.h Semicolon fixes according to Vadim's note about being danger (OW,BCC,MinGW,DMC tested). 2004-10-13 14:04:19 +00:00
splitter.h Provided GetBestVirtualSize and DoGetBestSize implementations for 2005-03-17 21:21:45 +00:00
statline.h gave default value of wxID_ANY to id parameter of wxStaticLine ctor as nobody uses anything else for it anyhow 2005-03-11 02:13:30 +00:00
statusbr.h Warning fixes for MinGW. 2005-01-21 18:26:01 +00:00
tabg.h Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces. 2004-06-17 16:22:36 +00:00
textdlgg.h Warning fixes for MinGW. 2005-01-21 18:26:01 +00:00
timer.h Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces. 2004-06-17 16:22:36 +00:00
treectlg.h Commited SetHilightDropEffect patch. 2005-01-30 12:44:50 +00:00
wizard.h Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces. 2004-06-17 16:22:36 +00:00