From: Stefan Neis <Stefan.Neis@t-online.de> Date: Fri, 14 Jan 2000 22:37:39 +0000 (+0000) Subject: SN: Use wxDummyChar only if __VISAGECPP__ is defined. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1b3d5e55661cd0c5e6a7d8948abca54cfac31806 SN: Use wxDummyChar only if __VISAGECPP__ is defined. Changed #ifdef wxUSE_UNICODE in ~wxApp() to #if wxUSE_UNICODE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/os2/app.cpp b/src/os2/app.cpp index 7cb3bd50e6..3e752ba5ff 100644 --- a/src/os2/app.cpp +++ b/src/os2/app.cpp @@ -164,7 +164,7 @@ bool wxApp::Initialize( // This is to foil optimizations in Visual C++ that throw out dummy.obj. // PLEASE DO NOT ALTER THIS. -#if !defined(WXMAKINGDLL) +#if !defined(WXMAKINGDLL) && defined(__VISAGECPP__) extern char wxDummyChar; if (wxDummyChar) wxDummyChar++; #endif @@ -510,7 +510,7 @@ wxApp::wxApp() wxApp::~wxApp() { -#ifdef wxUSE_UNICODE +#if wxUSE_UNICODE // Delete command-line args int i; for (i = 0; i < argc; i++)