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
This commit is contained in:
parent
610c985186
commit
1b3d5e5566
@ -164,7 +164,7 @@ bool wxApp::Initialize(
|
|||||||
|
|
||||||
// This is to foil optimizations in Visual C++ that throw out dummy.obj.
|
// This is to foil optimizations in Visual C++ that throw out dummy.obj.
|
||||||
// PLEASE DO NOT ALTER THIS.
|
// PLEASE DO NOT ALTER THIS.
|
||||||
#if !defined(WXMAKINGDLL)
|
#if !defined(WXMAKINGDLL) && defined(__VISAGECPP__)
|
||||||
extern char wxDummyChar;
|
extern char wxDummyChar;
|
||||||
if (wxDummyChar) wxDummyChar++;
|
if (wxDummyChar) wxDummyChar++;
|
||||||
#endif
|
#endif
|
||||||
@ -510,7 +510,7 @@ wxApp::wxApp()
|
|||||||
|
|
||||||
wxApp::~wxApp()
|
wxApp::~wxApp()
|
||||||
{
|
{
|
||||||
#ifdef wxUSE_UNICODE
|
#if wxUSE_UNICODE
|
||||||
// Delete command-line args
|
// Delete command-line args
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < argc; i++)
|
for (i = 0; i < argc; i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user