]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/app.cpp
ignore clicks on a toolbar but outside any button
[wxWidgets.git] / src / motif / app.cpp
index 8b019fdf6e64ab9c51d6ee1082329f777fefe230..9a09d850b4309233d57784b9ea36db5c1fffb5fa 100644 (file)
@@ -60,7 +60,6 @@
 
 #include <string.h>
 
-extern char *wxBuffer;
 extern wxList wxPendingDelete;
 
 wxApp *wxTheApp = NULL;
@@ -89,8 +88,6 @@ long wxApp::sm_lastMessageTime = 0;
 
 bool wxApp::Initialize()
 {
-    wxBuffer = new char[BUFSIZ + 512];
-
     wxClassInfo::InitializeClasses();
 
     // GL: I'm annoyed ... I don't know where to put this and I don't want to
@@ -158,9 +155,6 @@ void wxApp::CleanUp()
 
     wxBitmap::CleanUpHandlers();
 
-    delete[] wxBuffer;
-    wxBuffer = NULL;
-
     wxClassInfo::CleanUpClasses();
 
     delete wxTheApp;