* Implemented BestSize cache
authorRobin Dunn <robin@alldunn.com>
Thu, 24 Jun 2004 20:09:45 +0000 (20:09 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 24 Jun 2004 20:09:45 +0000 (20:09 +0000)
commit9f8845289521c7f53e95b6dfd8275daab8b05639
treefa94ac4694de12e92c37919300a3206261423506
parentcf82b73a0a5badb4ba3804a807c0e766e5ecd66c
* Implemented BestSize cache

* Added calls to InvalidateBestSize where things affecting BestSize
  are modified.  There are probably several other places where this
  still needs to be done...

* Added wxWindowBase::GetBestFittingSize that will merge the BestSize
  into the MinSize, (if any) and return the result.

* SetBestFittingSize will now only set the MinSize to the value that
  was passed to it, without merging in the BestSize

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
55 files changed:
docs/latex/wx/window.tex
include/wx/bmpbuttn.h
include/wx/control.h
include/wx/window.h
src/common/bookctrl.cpp
src/common/ctrlcmn.cpp
src/common/sizer.cpp
src/common/tbarbase.cpp
src/common/wincmn.cpp
src/gtk/bmpbuttn.cpp
src/gtk/button.cpp
src/gtk/choice.cpp
src/gtk/combobox.cpp
src/gtk/control.cpp
src/gtk/gauge.cpp
src/gtk/listbox.cpp
src/gtk/radiobox.cpp
src/gtk/spinbutt.cpp
src/gtk/spinctrl.cpp
src/gtk/statbmp.cpp
src/gtk/stattext.cpp
src/gtk/tbargtk.cpp
src/gtk/textctrl.cpp
src/gtk/tglbtn.cpp
src/gtk1/bmpbuttn.cpp
src/gtk1/button.cpp
src/gtk1/choice.cpp
src/gtk1/combobox.cpp
src/gtk1/control.cpp
src/gtk1/gauge.cpp
src/gtk1/listbox.cpp
src/gtk1/radiobox.cpp
src/gtk1/spinbutt.cpp
src/gtk1/spinctrl.cpp
src/gtk1/statbmp.cpp
src/gtk1/stattext.cpp
src/gtk1/tbargtk.cpp
src/gtk1/textctrl.cpp
src/gtk1/tglbtn.cpp
src/mac/carbon/bmpbuttn.cpp
src/mac/carbon/listbox.cpp
src/mac/carbon/statbmp.cpp
src/mac/carbon/stattext.cpp
src/mac/carbon/toolbar.cpp
src/mac/classic/bmpbuttn.cpp
src/mac/classic/listbox.cpp
src/mac/classic/statbmp.cpp
src/mac/classic/stattext.cpp
src/mac/classic/toolbar.cpp
src/msw/bmpbuttn.cpp
src/msw/listbox.cpp
src/msw/statbmp.cpp
src/msw/stattext.cpp
src/msw/tbar95.cpp
wxPython/src/_window.i