コード例 #1
0
ファイル: app.cpp プロジェクト: LuaDist/wxwidgets
    void OnExit()
    {
        wxFontsManager::CleanUp();

        wxDestroyMGL_WM();
        MGL_exit();
    }
コード例 #2
0
void wxApp::CleanUp()
{
    delete gs_rootWindow;

    wxAppBase::CleanUp();

    // must do this after calling base class CleanUp()
    delete wxTheFontsManager;
    wxTheFontsManager = (wxFontsManager*) NULL;

    wxDestroyMGL_WM();
    MGL_exit();
}