#pragma hdrstop
#endif
+#if wxUSE_CHECKBOX
+
#ifndef WX_PRECOMP
#include "wx/checkbox.h"
#include "wx/brush.h"
if ( !s_checkSize )
{
wxScreenDC dc;
- dc.SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
+ dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
- s_checkSize = (3*dc.GetCharHeight())/2;
+ s_checkSize = dc.GetCharHeight();
}
wxString str = wxGetWindowText(GetHWND());
{
wxFAIL_MSG(wxT("not implemented"));
}
+
+#endif // wxUSE_CHECKBOX