X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47239bd6b640fa4e4c82fc851696c5f5d9e2fa37..f463afe347cce23a4ff565ecab990c2dfe61827a:/src/unix/fontutil.cpp 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