wxWidgets/include
Vadim Zeitlin ae4375b878 Fix wxStaticBitmap best size calculation in wxMSW.
Take the control borders into account by overriding DoGetBestClientSize()
instead of DoGetBestSize().

Also invalidate the default best size computed before we have any valid image
when setting the initial image in Create().

Closes #4099.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-09 14:23:57 +00:00
..
msvc/wx Allow using non-MSW toolkit in MSVC-specific auto-linking header. 2012-05-04 20:35:41 +00:00
wx Fix wxStaticBitmap best size calculation in wxMSW. 2012-05-09 14:23:57 +00:00