]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/fontenum.cpp
some wxArtProv docs
[wxWidgets.git] / src / mac / fontenum.cpp
index 14491d79e93e542b49aea6b9c4c9a29cf53b3083..4720cc4a759e4fff7099fe62ec8e5d15f71363f8 100644 (file)
@@ -37,6 +37,8 @@
 #include "wx/fontmap.h"
 #include "wx/fontutil.h"
 
+#include "wx/mac/private.h"
+
 // ----------------------------------------------------------------------------
 // private classes
 // ----------------------------------------------------------------------------
@@ -87,7 +89,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;