X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9482617091b084d4ee006679a450176715d465e0..55826fcf4fd863d48ac28789d99bbb5c8a8d4c7e:/src/msw/app.cpp diff --git a/src/msw/app.cpp b/src/msw/app.cpp index d0adf0525b..dd14f9b063 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -119,7 +119,6 @@ // global variables // --------------------------------------------------------------------------- -extern wxChar *wxBuffer; extern wxList WXDLLEXPORT wxPendingDelete; #ifndef __WXMICROWIN__ extern void wxSetKeyboardHook(bool doIt); @@ -258,7 +257,7 @@ private: }; //// Initialize -bool wxApp::Initialize(int argc, wxChar **argv) +bool wxApp::Initialize(int& argc, wxChar **argv) { if ( !wxAppBase::Initialize(argc, argv) ) return false; @@ -287,8 +286,6 @@ bool wxApp::Initialize(int argc, wxChar **argv) } #endif // wxUSE_UNICODE && !wxUSE_UNICODE_MSLU - wxBuffer = new wxChar[1500]; // FIXME - #if defined(__WIN95__) && !defined(__WXMICROWIN__) InitCommonControls(); #endif // __WIN95__ @@ -500,9 +497,6 @@ bool wxApp::UnregisterWindowClasses() void wxApp::CleanUp() { - delete[] wxBuffer; - wxBuffer = NULL; - #ifndef __WXMICROWIN__ wxSetKeyboardHook(FALSE); #endif