]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/app.cpp
Applied updated patch [ 731719 ] Owner draw font leak/overuse
[wxWidgets.git] / src / gtk / app.cpp
index 704c36a9210a81e2a6c3c22f2907569b305d1e1f..ff2211ebbf9c297fb4c5d65e1e24db506625139f 100644 (file)
 #include "wx/msgdlg.h"
 #include "wx/file.h"
 #include "wx/filename.h"
-
-#if wxUSE_WX_RESOURCES
-    #include "wx/resource.h"
-#endif
-
 #include "wx/module.h"
 #include "wx/image.h"
 
@@ -709,10 +704,6 @@ bool wxApp::Initialize()
     wxInitializeStockLists();
     wxInitializeStockObjects();
 
-#if wxUSE_WX_RESOURCES
-    wxInitializeResourceSystem();
-#endif
-
     wxModule::RegisterModules();
     if (!wxModule::InitializeModules())
         return FALSE;
@@ -728,10 +719,6 @@ void wxApp::CleanUp()
 {
     wxModule::CleanUpModules();
 
-#if wxUSE_WX_RESOURCES
-    wxCleanUpResourceSystem();
-#endif
-
     delete wxTheColourDatabase;
     wxTheColourDatabase = (wxColourDatabase*) NULL;