X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f60765b0fc0d8e38caebada76a89365335c99ae8..9fd9e47a93dfcdd99c2722e288a0f28a51ce6f5f:/wxPython/src/fonts.i?ds=inline diff --git a/wxPython/src/fonts.i b/wxPython/src/fonts.i index 454e4af1bc..7506801a9d 100644 --- a/wxPython/src/fonts.i +++ b/wxPython/src/fonts.i @@ -17,7 +17,6 @@ #include "helpers.h" #include #include -#include #include #include #include @@ -223,6 +222,11 @@ public: wxFontMapper(); ~wxFontMapper(); + // return instance of the wxFontMapper singleton + static wxFontMapper *Get(); + // set the sigleton to 'mapper' instance and return previous one + static wxFontMapper *Set(wxFontMapper *mapper); + // find an alternative for the given encoding (which is supposed to not be // available on this system). If successful, return TRUE and rwxFontEcoding