make construct simpler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2004-03-27 08:22:16 +00:00
parent e11d436ba0
commit 894406521a

View File

@@ -192,7 +192,7 @@ wxWindowBase::wxWindowBase()
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;
@@ -651,8 +651,6 @@ void wxWindowBase::DoSetWindowVariant( wxWindowVariant variant )
case wxWINDOW_VARIANT_LARGE :
font.SetPointSize( size * 5 / 4 ) ;
break ;
case wxWINDOW_VARIANT_DEFAULT :
break ;
default:
wxFAIL_MSG(_T("unexpected window variant"));
break ;