which is already called from a module in bmpbase.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19946
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxInitializeStockLists();
wxInitializeStockObjects();
wxInitializeStockLists();
wxInitializeStockObjects();
- // For PostScript printing
-#if wxUSE_POSTSCRIPT
- /* Done using wxModule now
- wxInitializePrintSetupData();
- wxThePrintPaperDatabase = new wxPrintPaperDatabase;
- wxThePrintPaperDatabase->CreateDatabase();
- */
-#endif
-
- wxBitmap::InitStandardHandlers();
-
wxWidgetHashTable = new wxHashTable(wxKEY_INTEGER);
wxModule::RegisterModules();
wxWidgetHashTable = new wxHashTable(wxKEY_INTEGER);
wxModule::RegisterModules();
delete wxTheColourDatabase;
wxTheColourDatabase = NULL;
delete wxTheColourDatabase;
wxTheColourDatabase = NULL;
-#if wxUSE_POSTSCRIPT
- /* Done using wxModule now
- wxInitializePrintSetupData(FALSE);
- delete wxThePrintPaperDatabase;
- wxThePrintPaperDatabase = NULL;
- */
-#endif
-
- wxBitmap::CleanUpHandlers();
-
wxClassInfo::CleanUpClasses();
delete wxTheApp;
wxClassInfo::CleanUpClasses();
delete wxTheApp;
if ( pLog != NULL && pLog->HasPendingMessages() )
pLog->Flush();
if ( pLog != NULL && pLog->HasPendingMessages() )
pLog->Flush();
- delete wxLog::SetActiveTarget(new wxLogStderr); // So dialog boxes aren't used
- // for further messages
+ // So dialog boxes aren't used for further messages
+ delete wxLog::SetActiveTarget(new wxLogStderr);
if (wxTheApp->GetTopWindow())
{
if (wxTheApp->GetTopWindow())
{
- * Exit in some platform-specific way. Not recommended that the app calls this:
+ * Exit in some platform-specific way.
+ * Not recommended that the app calls this:
* only for emergencies.
*/
exit(retValue);
* only for emergencies.
*/
exit(retValue);