]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/app.cpp
Fixed bug with disappearing menus. They were
[wxWidgets.git] / src / gtk1 / app.cpp
index 6b0b5276dfd766eae63fba54db2805b872a8ee6a..65710bb24dccd17b3d952cbcc99b9e22ab6e898b 100644 (file)
@@ -515,7 +515,8 @@ bool wxApp::SendIdleEvents( wxWindow* win )
 
         node = node->Next();
     }
-    return needMore ;
+    
+    return needMore;
 }
 
 int wxApp::MainLoop()
@@ -563,8 +564,6 @@ void wxApp::DeletePendingObjects()
 
 bool wxApp::Initialize()
 {
-    wxBuffer = new wxChar[BUFSIZ + 512];
-
     wxClassInfo::InitializeClasses();
 
 #if wxUSE_INTL
@@ -612,9 +611,6 @@ void wxApp::CleanUp()
     delete wxTheApp;
     wxTheApp = (wxApp*) NULL;
 
-    delete[] wxBuffer;
-    wxBuffer = NULL;
-
     wxClassInfo::CleanUpClasses();
 
 #if wxUSE_THREADS