Warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-01-18 19:10:49 +00:00
parent 4deaa8dbc5
commit 0ea273496a

View File

@@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// Name: univ/checkbox.cpp
// Name: src/univ/checkbox.cpp
// Purpose: wxCheckBox implementation
// Author: Vadim Zeitlin
// Modified by:
@@ -177,7 +177,9 @@ wxSize wxCheckBox::DoGetBestClientSize() const
if ( height < sizeBmp.y )
height = sizeBmp.y;
#if wxUNIV_COMPATIBLE_MSW
#if defined(wxUNIV_COMPATIBLE_MSW) && wxUNIV_COMPATIBLE_MSW
// FIXME: flag nowhere defined so perhaps should be removed?
// this looks better but is different from what wxMSW does
height += GetCharHeight()/2;
#endif // wxUNIV_COMPATIBLE_MSW