]> git.saurik.com Git - wxWidgets.git/commitdiff
Enabled the wxUSE_VC_CRTDBG to be optional even if it would otherwise
authorRobin Dunn <robin@alldunn.com>
Wed, 25 Nov 1998 08:15:38 +0000 (08:15 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 25 Nov 1998 08:15:38 +0000 (08:15 +0000)
be used since I couldn't get it to work here.

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

src/msw/app.cpp

index 812c615db0f565cab392cbe495ae43f1b1a820f1..a9fb77fdd246cb36361b6676dc80a6e11860fa07 100644 (file)
@@ -52,7 +52,7 @@
 
 // use debug CRT functions for memory leak detections in VC++ if we're not
 // using wxWindows own methods
-#if defined(__WXDEBUG__) && defined(_MSC_VER) && !wxUSE_GLOBAL_MEMORY_OPERATORS
+#if defined(__WXDEBUG__) && defined(_MSC_VER) && !wxUSE_GLOBAL_MEMORY_OPERATORS && !defined(__NO_VC_CRTDBG__)
     #define wxUSE_VC_CRTDBG
 #else
     #undef wxUSE_VC_CRTDBG