]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/fontenum.cpp
don't try to remove -g flag from CFLAGS, it is not necessary and doesn't work correct...
[wxWidgets.git] / src / os2 / fontenum.cpp
index 476798911f0ab5bc727294adbd165b45071a4bed..26a10439326f4a72737550f41654ecb0cb9fd362 100644 (file)
@@ -99,7 +99,7 @@ bool wxFontEnumeratorHelper::SetEncoding(wxFontEncoding encoding)
     wxNativeEncodingInfo info;
     if ( !wxGetNativeFontEncoding(encoding, &info) )
     {
-        if ( !wxTheFontMapper->GetAltForEncoding(encoding, &info) )
+        if ( !wxFontMapper::Get()->GetAltForEncoding(encoding, &info) )
         {
             // no such encodings at all
             return FALSE;