m_maxWidth =
m_maxHeight = -1;
- // window is created enabled but it's not visible yet
- m_isShown = false;
+ // window are created enabled and visible by default
+ m_isShown =
m_isEnabled = true;
// the default event handler is just this window
m_maxVirtualWidth =
m_maxVirtualHeight = -1;
- m_windowVariant = wxWINDOW_VARIANT_DEFAULT ;
+ m_windowVariant = wxWINDOW_VARIANT_NORMAL ;
// Whether we're using the current theme for this window (wxGTK only for now)
m_themeEnabled = false;
case wxWINDOW_VARIANT_LARGE :
font.SetPointSize( size * 5 / 4 ) ;
break ;
- case wxWINDOW_VARIANT_DEFAULT :
- break ;
default:
wxFAIL_MSG(_T("unexpected window variant"));
break ;