Correct best size computation for wxCheckBox with borders under MSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 23 Sep 2012 22:48:16 +0000 (22:48 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 23 Sep 2012 22:48:16 +0000 (22:48 +0000)
commite380ca3cf8cca3f298ec24d31a2a673c5b3c41cd
tree4a7a8a282097c68b26dcc1bb102db6193ab8da15
parent687823a157c6bbec7e6911afef361c5283dd960b
Correct best size computation for wxCheckBox with borders under MSW.

As wxCheckBox can now have borders (see previous commit), we must override
DoGetBestClientSize() and not DoGetBestSize() in it to take account of them.

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