X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7d5acd0fa8ec23f3b2d50e535c3fe35adbaedfa..fbf456aa8952c6d2d3edeea1208b0e3159a3cb8d:/src/mgl/app.cpp diff --git a/src/mgl/app.cpp b/src/mgl/app.cpp index da9471e4dc..3eea2d9844 100644 --- a/src/mgl/app.cpp +++ b/src/mgl/app.cpp @@ -3,7 +3,7 @@ // Author: Vaclav Slavik // based on GTK and MSW implementations // Id: $Id$ -// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com) +// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -412,8 +412,6 @@ bool wxApp::Initialize() if ( MGL_init(".", NULL) == 0 ) return FALSE; - wxBuffer = new wxChar[BUFSIZ + 512]; - wxClassInfo::InitializeClasses(); #if wxUSE_INTL @@ -497,8 +495,6 @@ void wxApp::CleanUp() delete wxTheFontsManager; wxTheFontsManager = (wxFontsManager*) NULL; - delete[] wxBuffer; - // check for memory leaks #if (defined(__WXDEBUG__) && wxUSE_MEMORY_TRACING) || wxUSE_DEBUG_CONTEXT if (wxDebugContext::CountObjectsLeft(TRUE) > 0)