]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/fontutil.cpp
the same event handler class, not object, can be used with multiple windows (patch...
[wxWidgets.git] / 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