From: Vadim Zeitlin Date: Mon, 19 Mar 2007 01:38:37 +0000 (+0000) Subject: compilation fix for switch(wxChar) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/102798af357e42003436206317ac12e58065508b compilation fix for switch(wxChar) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/unix/fontutil.cpp b/src/unix/fontutil.cpp index c0c8b07bf0..8ec7b7892d 100644 --- a/src/unix/fontutil.cpp +++ b/src/unix/fontutil.cpp @@ -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