]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/helpdata.cpp
Fix wxListCtrl background colour bug Part I
[wxWidgets.git] / src / html / helpdata.cpp
index 312857dedfde84d9b0d492abb350909e01102df5..44392854d328aca559ca8a164db12d991733ddfd 100644 (file)
@@ -618,7 +618,7 @@ bool wxHtmlHelpData::AddBook(const wxString& book)
 
         wxFontEncoding enc;
         if (charset == wxEmptyString) enc = wxFONTENCODING_SYSTEM;
-        else enc = wxTheFontMapper->CharsetToEncoding(charset);
+        else enc = wxFontMapper::Get()->CharsetToEncoding(charset);
         bool rtval = AddBookParam(*fi, enc,
                                   title, contents, index, start, fsys.GetPath());
         delete fi;