if (!CreateBase(parent, id, pos, size, style, validator, name))
return FALSE;
if (!CreateBase(parent, id, pos, size, style, validator, name))
return FALSE;
m_backgroundColour = parent->GetBackgroundColour();
m_foregroundColour = parent->GetForegroundColour();
m_backgroundColour = parent->GetBackgroundColour();
m_foregroundColour = parent->GetForegroundColour();
- long msStyle = BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP | WS_CHILD | WS_VISIBLE;
+#ifndef BS_PUSHLIKE
+#define BS_PUSHLIKE 0x00001000L
+#endif
+
+ WXDWORD exStyle = 0;
+ long msStyle = MSWGetStyle(style, & exStyle) ;
+
+ msStyle |= BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP ;
+