]> git.saurik.com Git - wxWidgets.git/commitdiff
Commented out those wretched crt debug thingies yet again. It doesn't compile for
authorJulian Smart <julian@anthemion.co.uk>
Sun, 20 Sep 1998 07:44:24 +0000 (07:44 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 20 Sep 1998 07:44:24 +0000 (07:44 +0000)
me and presumably other people who use the makefiles, sorry.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/app.cpp

index e7a3e6210bb106b4f5cbc6a14efffdfa9b04022d..cb88395f1a4cecf5d183fb24bb8246d68a93e3e3 100644 (file)
@@ -52,6 +52,7 @@
 #endif
 
 // use debug CRT functions for memory leak detections in VC++
+/* This still doesn't work for me, Vadim.
 #if defined(__WXDEBUG__) && defined(_MSC_VER)
   // VC++ uses this macro as debug/release mode indicator
   #ifndef _DEBUG
@@ -60,6 +61,7 @@
 
   #include <crtdbg.h>
 #endif
+*/
 
 extern char *wxBuffer;
 extern char *wxOsVersion;
@@ -111,12 +113,14 @@ bool wxApp::Initialize()
 {
   wxBuffer = new char[1500];
 
+/*
   #if defined(__WXDEBUG__) && defined(_MSC_VER)
     // do check for memory leaks on program exit
     // (another useful flag is _CRTDBG_DELAY_FREE_MEM_DF which doesn't free
     //  deallocated memory which may be used to simulate low-memory condition)
     _CrtSetDbgFlag(_CrtSetDbgFlag(_CRTDBG_REPORT_FLAG) | _CRTDBG_LEAK_CHECK_DF);
   #endif // debug build under MS VC++
+*/
 
   #if (WXDEBUG && USE_MEMORY_TRACING) || USE_DEBUG_CONTEXT
     #if defined(_WINDLL)