]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for switch(wxChar)
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 19 Mar 2007 01:38:37 +0000 (01:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 19 Mar 2007 01:38:37 +0000 (01:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/fontutil.cpp

index c0c8b07bf011fb511cc42fe9ad1ffe6d61365585..8ec7b7892d57ad690d4af308f4f8ae38fac00e69 100644 (file)
@@ -642,7 +642,7 @@ wxFontStyle wxNativeFontInfo::GetStyle() const
         return wxFONTSTYLE_NORMAL;
     }
 
-    switch ( s[0] )
+    switch ( s[0].GetValue() )
     {
         default:
             // again, unknown but consider normal by default