X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd495ab3ea1282ddb8bb0cd0fb79fc758ae5fcee..211cc8dc907ee50ca6d383b8df16bba9a4d3ce2d:/src/mgl/fontutil.cpp diff --git a/src/mgl/fontutil.cpp b/src/mgl/fontutil.cpp index cc361b21b1..7e26290862 100644 --- a/src/mgl/fontutil.cpp +++ b/src/mgl/fontutil.cpp @@ -21,16 +21,15 @@ #endif #ifndef WX_PRECOMP + #include "wx/log.h" + #include "wx/fontutil.h" + #include "wx/fontmap.h" + #include "wx/tokenzr.h" + #include "wx/hash.h" #endif // PCH -#include "wx/fontutil.h" -#include "wx/fontmap.h" -#include "wx/tokenzr.h" -#include "wx/hash.h" -#include "wx/module.h" #include "wx/listimpl.cpp" -#include "wx/log.h" #include "wx/mgl/private.h" #include @@ -430,24 +429,3 @@ wxMGLFontFamily *wxFontsManager::GetFamily(const wxString& name) const wxFontsManager *wxTheFontsManager = NULL; - - -// A module that takes care of fonts DB initialization and destruction: - -class wxFontutilModule: public wxModule -{ -DECLARE_DYNAMIC_CLASS(wxFontutilModule) -public: - wxFontutilModule() {} - bool OnInit() - { - wxTheFontsManager = new wxFontsManager; - return TRUE; - } - void OnExit() - { - delete wxTheFontsManager; - } -}; - -IMPLEMENT_DYNAMIC_CLASS(wxFontutilModule, wxModule)