X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68bc8549d81adc1b6f031bdbb03b91a71944197c..e422162882bf4c5ae743fd618864e97206765fca:/wxPython/src/fonts.i diff --git a/wxPython/src/fonts.i b/wxPython/src/fonts.i index 6f00cd0b0c..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 @@ -854,6 +858,9 @@ public: // or output encoding is not supported.) bool Init(wxFontEncoding input_enc, wxFontEncoding output_enc, int method = wxCONVERT_STRICT); + + // TODO: Need to do something about unicode mode... + // Convert input string according to settings passed to Init. // Note that you must call Init before using Convert! wxString Convert(const wxString& input); @@ -868,6 +875,7 @@ public: // #endif + // Return equivalent(s) for given font that are used // under given platform. wxPLATFORM_CURRENT means the plaform // this binary was compiled for