/////////////////////////////////////////////////////////////////////////////
-// Name: univ/checkbox.cpp
+// Name: src/univ/checkbox.cpp
// Purpose: wxCheckBox implementation
// Author: Vadim Zeitlin
// Modified by:
#if wxUSE_CHECKBOX
+#include "wx/checkbox.h"
+
#ifndef WX_PRECOMP
#include "wx/dcclient.h"
- #include "wx/checkbox.h"
#include "wx/validate.h"
#include "wx/button.h" // for wxACTION_BUTTON_XXX
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