X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f60765b0fc0d8e38caebada76a89365335c99ae8..a81c3c2383f9096ef5e96b708a0f1c1ffe7cc6a8:/wxPython/src/fonts.i?ds=sidebyside 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