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:
@@ -192,7 +192,7 @@ wxWindowBase::wxWindowBase()
|
|||||||
m_maxVirtualWidth =
|
m_maxVirtualWidth =
|
||||||
m_maxVirtualHeight = -1;
|
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)
|
// Whether we're using the current theme for this window (wxGTK only for now)
|
||||||
m_themeEnabled = false;
|
m_themeEnabled = false;
|
||||||
@@ -651,8 +651,6 @@ void wxWindowBase::DoSetWindowVariant( wxWindowVariant variant )
|
|||||||
case wxWINDOW_VARIANT_LARGE :
|
case wxWINDOW_VARIANT_LARGE :
|
||||||
font.SetPointSize( size * 5 / 4 ) ;
|
font.SetPointSize( size * 5 / 4 ) ;
|
||||||
break ;
|
break ;
|
||||||
case wxWINDOW_VARIANT_DEFAULT :
|
|
||||||
break ;
|
|
||||||
default:
|
default:
|
||||||
wxFAIL_MSG(_T("unexpected window variant"));
|
wxFAIL_MSG(_T("unexpected window variant"));
|
||||||
break ;
|
break ;
|
||||||
|
Reference in New Issue
Block a user