wxWidgets/include/wx/gtk
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
..
gnome Work in progress on printing stuff. 2004-11-22 21:50:31 +00:00
.cvsignore Added some WINE things. 1999-06-07 21:17:21 +00:00
accel.h first pass of wxUniv merge - nothing works, most parts don't even compile 2001-06-26 20:59:19 +00:00
app.h (hopefully) fixed race condition in installing idle handler (calling wxPostEvent from non-main thread) 2004-11-04 20:04:59 +00:00
bitmap.h Implemented wxBitmap::HasAlpha() and ::UseAlpha(). 2005-02-15 20:27:46 +00:00
bmpbuttn.h fixed previous revision: call wxControl's, not wxButton's DoGetBestSize 2004-10-18 13:13:39 +00:00
brush.h wxBrushBase between wxBrush and wxGDIObject (class follows wxFontBase model). 2004-12-03 15:31:31 +00:00
button.h new stock buttons API 2004-08-30 14:42:51 +00:00
checkbox.h implemented 3state checkboxes in wxGTK with GTK2 2004-06-26 15:53:22 +00:00
checklst.h Use old licence name 2004-05-23 20:53:33 +00:00
choice.h Fix for the fix for wxChoice selection. 2004-12-18 13:13:52 +00:00
clipbrd.h Use old licence name 2004-05-23 20:53:33 +00:00
colordlg.h unused params warnings (patch 1048431) 2004-10-16 19:41:18 +00:00
colour.h Use old licence name 2004-05-23 20:53:33 +00:00
combobox.h 1. added SetSelection() to wxItemContainer and removed its declarations 2005-02-13 17:08:27 +00:00
control.h reverted m_adjustMinSize change prepatory for a new approach to fix 2004-06-21 22:58:13 +00:00
cursor.h Use old licence name 2004-05-23 20:53:33 +00:00
dataform.h Use old licence name 2004-05-23 20:53:33 +00:00
dataobj2.h Use old licence name 2004-05-23 20:53:33 +00:00
dataobj.h Use old licence name 2004-05-23 20:53:33 +00:00
dc.h Make ComputeScaleAndOrigin() as virtual part of wxDCBase and this way present on missing platforms. Add into manaul too. 2004-12-16 21:24:45 +00:00
dcclient.h Make ComputeScaleAndOrigin() as virtual part of wxDCBase and this way present on missing platforms. Add into manaul too. 2004-12-16 21:24:45 +00:00
dcmemory.h Use old licence name 2004-05-23 20:53:33 +00:00
dcscreen.h Use old licence name 2004-05-23 20:53:33 +00:00
dialog.h Use old licence name 2004-05-23 20:53:33 +00:00
dnd.h Use old licence name 2004-05-23 20:53:33 +00:00
filedlg.h blind fix for GCC compilation when #pragmas are honored 2004-12-27 08:52:17 +00:00
font.h making getter const 2004-07-14 16:33:17 +00:00
fontdlg.h Use old licence name 2004-05-23 20:53:33 +00:00
frame.h Use old licence name 2004-05-23 20:53:33 +00:00
gauge.h fixed GTK styles handling: 2004-06-14 17:34:00 +00:00
gdiobj.h Use old licence name 2004-05-23 20:53:33 +00:00
glcanvas.h removed ambiguity from wxGLCanvas ctors (bug 1102544) 2005-02-21 01:52:23 +00:00
icon.h Make wxBitmap inherit from wxBitmapBase 2005-02-05 13:08:44 +00:00
listbox.h 1. added SetSelection() to wxItemContainer and removed its declarations 2005-02-13 17:08:27 +00:00
mdi.h moved wxWindow::GetBestSize implementation into DoGetBestSize 2004-09-30 16:37:58 +00:00
menu.h Use old licence name 2004-05-23 20:53:33 +00:00
menuitem.h Use old licence name 2004-05-23 20:53:33 +00:00
minifram.h Forgot to commit header. 2004-11-03 20:47:05 +00:00
msgdlg.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
pen.h Use old licence name 2004-05-23 20:53:33 +00:00
popupwin.h Use old licence name 2004-05-23 20:53:33 +00:00
private.h fixed setting colour of wxStaticText in case the label contains XML special characters 2004-06-27 13:42:17 +00:00
radiobox.h Implemented wxRadioBox using a GtkTable. 2005-02-28 20:31:31 +00:00
radiobut.h fixed GTK styles handling: 2004-06-14 17:34:00 +00:00
region.h ---------------------------------------------------------------------- 2005-02-09 15:01:49 +00:00
scrolbar.h fixed GTK styles handling: 2004-06-14 17:34:00 +00:00
scrolwin.h Provided GetBestVirtualSize and DoGetBestSize implementations for 2005-03-17 21:21:45 +00:00
slider.h fixed GTK styles handling: 2004-06-14 17:34:00 +00:00
spinbutt.h fixed GTK styles handling: 2004-06-14 17:34:00 +00:00
spinctrl.h fixed GTK styles handling: 2004-06-14 17:34:00 +00:00
statbmp.h 1. added support for bitmaps with alpha channel 2004-08-21 22:41:04 +00:00
statbox.h a better way of applying style changes to label_widget 2004-07-03 16:58:10 +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
stattext.h reverted m_adjustMinSize change prepatory for a new approach to fix 2004-06-21 22:58:13 +00:00
taskbarpriv.h Avoid wxTaskBarIconAreaBase::DoPopupMenu unresolved symbol in GTK < 2.1 builds 2005-02-18 04:06:08 +00:00
tbargtk.h respect GTK+'s theme tooltip colour settings 2004-06-14 13:27:26 +00:00
textctrl.h wxTE_AUTO_URL for wxGTK2 from Mart R. [patch 1126182] 2005-02-19 02:55:32 +00:00
tglbtn.h Changed Rocketeer licence to wxWindows licence, by authorisation 2004-11-22 15:55:34 +00:00
timer.h Use old licence name 2004-05-23 20:53:33 +00:00
tooltip.h Use old licence name 2004-05-23 20:53:33 +00:00
toplevel.h Make wxTLW::Raise() actually bring the window to the top 2005-02-11 23:00:31 +00:00
treectrl.h Use old licence name 2004-05-23 20:53:33 +00:00
win_gtk.h fix for crash on 64 bit platforms (patch 1028942) 2004-09-16 22:34:09 +00:00
window.h SetBackgroundStyle(wxBG_STYLE_CUSTOM) can now be used to optimize 2004-08-29 13:32:45 +00:00