X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01b2eeec59f924bc1af582e70d010f89dc29d3d3..c9cb56f7f2fb75bce8722f81337253f5649325b9:/src/qt/app.cpp?ds=sidebyside diff --git a/src/qt/app.cpp b/src/qt/app.cpp index f54a6806e2..0294c58bc4 100644 --- a/src/qt/app.cpp +++ b/src/qt/app.cpp @@ -28,7 +28,7 @@ #include "wx/log.h" #include "wx/module.h" -#if USE_WX_RESOURCES +#if wxUSE_WX_RESOURCES #include "wx/resource.h" #endif @@ -40,12 +40,10 @@ extern wxList wxPendingDelete; wxApp *wxTheApp = NULL; -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxApp, wxEvtHandler) BEGIN_EVENT_TABLE(wxApp, wxEvtHandler) EVT_IDLE(wxApp::OnIdle) END_EVENT_TABLE() -#endif long wxApp::sm_lastMessageTime = 0; @@ -63,12 +61,12 @@ void wxApp::CommonInit() wxTheColourDatabase->Initialize(); wxInitializeStockObjects(); -#if USE_WX_RESOURCES +#if wxUSE_WX_RESOURCES wxInitializeResourceSystem(); #endif // For PostScript printing -#if USE_POSTSCRIPT +#if wxUSE_POSTSCRIPT wxInitializePrintSetupData(); wxThePrintPaperDatabase = new wxPrintPaperDatabase; wxThePrintPaperDatabase->CreateDatabase(); @@ -84,7 +82,7 @@ void wxApp::CommonCleanUp() { wxModule::CleanUpModules(); -#if USE_WX_RESOURCES +#if wxUSE_WX_RESOURCES wxCleanUpResourceSystem(); #endif @@ -106,7 +104,7 @@ void wxApp::CommonCleanUp() delete wxTheColourDatabase; wxTheColourDatabase = NULL; -#if USE_POSTSCRIPT +#if wxUSE_POSTSCRIPT wxInitializePrintSetupData(FALSE); delete wxThePrintPaperDatabase; wxThePrintPaperDatabase = NULL; @@ -125,7 +123,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 #if !defined(_WINDLL) streambuf* sBuf = new wxDebugStreamBuf; @@ -182,7 +180,7 @@ int wxEntry( int argc, char *argv[] ) wxApp::CommonCleanUp(); -#if (WXDEBUG && USE_MEMORY_TRACING) || USE_DEBUG_CONTEXT +#if (WXDEBUG && wxUSE_MEMORY_TRACING) || wxUSE_DEBUG_CONTEXT // At this point we want to check if there are any memory // blocks that aren't part of the wxDebugContext itself, // as a special case. Then when dumping we need to ignore