fixed DoGetBestSize -- it returned too small bounding box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0b7e6e7da2
commit
86f6187197
@ -151,7 +151,7 @@ wxSize wxCheckBox::DoGetBestSize() const
|
||||
{
|
||||
int wCheckbox, hCheckbox;
|
||||
|
||||
wxString str = wxGetWindowText(GetHWND());
|
||||
wxString str = wxGetWindowText(GetHWND()) + " ";
|
||||
|
||||
if ( !str.IsEmpty() )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user