Add wxWindow::GetBest{Height,Width}().
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 May 2012 14:24:37 +0000 (14:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 May 2012 14:24:37 +0000 (14:24 +0000)
commitd119983947975b98ad4ca1295be46ae9d7ffe805
treef37a451bd6e353eb122b8ccee8cf100a377964d1
parent386279c3f21d62a56f2d9347e0e1a0a354e70f5a
Add wxWindow::GetBest{Height,Width}().

These functions will be used when it is necessary to determine the best size
of the control if one of its size components is fixed. Currently none of the
classes implements DoGetBestClient{Height,Width}() yet but wxListCtrl will do
it soon, see #13898.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/window.h
interface/wx/window.h
src/common/wincmn.cpp