コード例 #1
0
wxClipboard::~wxClipboard()
{
    if ( m_clearOnExit )
    {
        Clear();
    }

#if wxUSE_OLE_CLIPBOARD
    wxOleUninitialize();
#endif
}
コード例 #2
0
ファイル: clipbrd.cpp プロジェクト: Annovae/Dolphin-Core
wxClipboard::~wxClipboard()
{
    if ( m_lastDataObject )
    {
        Clear();
    }

#if wxUSE_OLE_CLIPBOARD
    wxOleUninitialize();
#endif
}
コード例 #3
0
ファイル: app.cpp プロジェクト: vdm113/wxWidgets-ICC-patch
void wxApp::CleanUp()
{
    // all objects pending for deletion must be deleted first, otherwise
    // UnregisterWindowClasses() call wouldn't succeed (because windows
    // using the classes being unregistered still exist), so call the base
    // class method first and only then do our clean up
    wxAppBase::CleanUp();

    wxSetKeyboardHook(false);

    wxOleUninitialize();

    // for an EXE the classes are unregistered when it terminates but DLL may
    // be loaded several times (load/unload/load) into the same process in
    // which case the registration will fail after the first time if we don't
    // unregister the classes now
    UnregisterWindowClasses();
}