Use GetBestSize() rather than DoGetBestSize().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Aug 2009 17:25:02 +0000 (17:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Aug 2009 17:25:02 +0000 (17:25 +0000)
commit4329eae9433dd4e7eaf8181ecc125b1f25571904
tree660726c65a8f6bde1af650868ee5ef286aac1c58
parentd301c440937fc3f9dda237d2b07da1a203fc61c8
Use GetBestSize() rather than DoGetBestSize().

Call GetBestSize() from wxWindowMSW::DoSetSize() so that it works correctly
for the classes which only override DoGetBestClientSize() and not
DoGetBestSize() itself, such as wxStaticText.

Closes #11096.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/window.cpp