#pragma hdrstop
#endif
+#if wxUSE_CHECKBOX
+
#ifndef WX_PRECOMP
#include "wx/checkbox.h"
#include "wx/brush.h"
if ( style & wxALIGN_RIGHT )
msStyle |= BS_LEFTTEXT;
+ if ( style & wxCLIP_SIBLINGS )
+ msStyle |= WS_CLIPSIBLINGS;
+
// We perhaps have different concepts of 3D here - a 3D border,
// versus a 3D button.
// So we only wish to give a border if this is specified
wxScreenDC dc;
dc.SetFont(wxSystemSettings::GetSystemFont(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