X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e55ad60e195f1007db921b2a73a3cac98ed9df65..c96fd235be44ecc87404b1c2b3369e478dd82e0e:/src/gtk1/app.cpp?ds=inline diff --git a/src/gtk1/app.cpp b/src/gtk1/app.cpp index d2acce935a..fb0c54118a 100644 --- a/src/gtk1/app.cpp +++ b/src/gtk1/app.cpp @@ -15,7 +15,6 @@ #include "wx/app.h" #include "wx/gdicmn.h" #include "wx/utils.h" -#include "wx/postscrp.h" #include "wx/intl.h" #include "wx/log.h" #include "wx/memory.h" @@ -25,7 +24,7 @@ #include "unistd.h" -#ifdef USE_GDK_IMLIB +#ifdef wxUSE_GDK_IMLIB #include "../gdk_imlib/gdk_imlib.h" #endif @@ -243,7 +242,7 @@ void wxApp::CommonInit(void) { /* -#if USE_RESOURCES +#if wxUSE_RESOURCES (void) wxGetResource("wxWindows", "OsVersion", &wxOsVersion); #endif */ @@ -262,10 +261,12 @@ void wxApp::CommonInit(void) wxInitializeResourceSystem(); // For PostScript printing -#if USE_POSTSCRIPT +#if wxUSE_POSTSCRIPT +/* Now done in wxPostScriptModule wxInitializePrintSetupData(); wxThePrintPaperDatabase = new wxPrintPaperDatabase; wxThePrintPaperDatabase->CreateDatabase(); + */ #endif @@ -279,8 +280,10 @@ void wxApp::CommonInit(void) void wxApp::CommonCleanUp(void) { wxDELETE(wxTheColourDatabase); +/* Now done in wxPostScriptModule wxDELETE(wxThePrintPaperDatabase); wxDELETE(wxThePrintSetupData); + */ wxDELETE(wxTheFontNameDirectory); wxDeleteStockObjects(); @@ -310,7 +313,7 @@ int wxEntry( int argc, char *argv[] ) wxClassInfo::InitializeClasses(); -#if (WXDEBUG && USE_MEMORY_TRACING) || USE_DEBUG_CONTEXT +#if (WXDEBUG && wxUSE_MEMORY_TRACING) || wxUSE_DEBUG_CONTEXT streambuf* sBuf = new wxDebugStreamBuf; ostream* oStr = new ostream(sBuf) ; @@ -352,7 +355,7 @@ int wxEntry( int argc, char *argv[] ) gtk_init( &argc, &argv ); -#ifdef USE_GDK_IMLIB +#ifdef wxUSE_GDK_IMLIB gdk_imlib_init(); @@ -393,7 +396,7 @@ int wxEntry( int argc, char *argv[] ) delete[] wxBuffer; -#if (WXDEBUG && USE_MEMORY_TRACING) || USE_DEBUG_CONTEXT +#if (WXDEBUG && wxUSE_MEMORY_TRACING) || wxUSE_DEBUG_CONTEXT if (wxDebugContext::CountObjectsLeft() > 0) {