]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/fontutil.cpp
No real changes, just fix a warning in the test suite.
[wxWidgets.git] / src / unix / fontutil.cpp
index a9fac62420d00cfe45df2c3fc67531f931ba1a79..39554c0fff1cdd2440ea84c5f8dafcf2066fbce6 100644 (file)
@@ -53,8 +53,8 @@
     #include "wx/x11/private.h"
     #include "wx/gtk/private/string.h"
 
-    #define wxPANGO_CONV(s) (wxConvUTF8.cWX2MB((s)))
-    #define wxPANGO_CONV_BACK(s) (wxConvUTF8.cMB2WX((s)))
+    #define wxPANGO_CONV(s) s.utf8_str()
+    #define wxPANGO_CONV_BACK(s) wxString::FromUTF8Unchecked(s)
 #endif
 
 // ----------------------------------------------------------------------------