const wxValidator& validator,
const wxString& name)
{
+ // default border for this control is none
+ if ( (style & wxBORDER_MASK) == wxBORDER_DEFAULT )
+ {
+ style |= wxBORDER_NONE;
+ }
+
if (!CreateBase(parent, id, pos, size, style, validator, name))
return FALSE;
WXDWORD exStyle = 0;
long msStyle = MSWGetStyle(style, & exStyle) ;
-
- msStyle |= BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP ;
-/*
- if ( m_windowStyle & wxCLIP_SIBLINGS )
- msStyle |= WS_CLIPSIBLINGS;
-*/
+ msStyle |= BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP ;
#ifdef __WIN32__
if(m_windowStyle & wxBU_LEFT)