Implement wxWindow::DoGetBorderSize() in the trivial case of wxBORDER_NONE.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 8 Dec 2009 15:56:14 +0000 (15:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 8 Dec 2009 15:56:14 +0000 (15:56 +0000)
commitd7d943a71cff6dda4888e7c5aa6a084d787ac843
tree1dbef34bfe9d33414e238e872282e1c5089b6b1d
parentefc8837250a62bfd9c60b489db955b79b96ef311
Implement wxWindow::DoGetBorderSize() in the trivial case of wxBORDER_NONE.

This fixes an assert in wxGenericStaticText which overrode
DoGetBestClientSize() but not DoGetBorderSize().

It would still be useful to implement DoGetBorderSize() in wxGTK (and other
ports) in general too as using wxGenericStaticText with non-default border
still doesn't work.

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