From: Stefan Csomor <csomor@advancedconcepts.ch>
Date: Sat, 27 Mar 2004 08:22:16 +0000 (+0000)
Subject: make construct simpler
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/894406521a0058c3e06b957f32564043f23ad231

make construct simpler


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp
index aa90c82cbd..5f892e172d 100644
--- a/src/common/wincmn.cpp
+++ b/src/common/wincmn.cpp
@@ -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 ;