got rid of wxBuffer (finally!!!)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-07-02 02:09:44 +00:00
parent bddd7a8d89
commit 3e3be693d0
6 changed files with 76 additions and 100 deletions

View File

@@ -119,7 +119,6 @@
// global variables
// ---------------------------------------------------------------------------
extern wxChar *wxBuffer;
extern wxList WXDLLEXPORT wxPendingDelete;
#ifndef __WXMICROWIN__
extern void wxSetKeyboardHook(bool doIt);
@@ -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