]> git.saurik.com Git - wxWidgets.git/commitdiff
commented out wxCrtSetDbgFlag for WXUSINGDLL=1 (ie building apps using dll linkage)
authorUnknown (UG) <nobody@localhost>
Thu, 4 Feb 1999 16:46:24 +0000 (16:46 +0000)
committerUnknown (UG) <nobody@localhost>
Thu, 4 Feb 1999 16:46:24 +0000 (16:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/dummy.cpp

index 807c6a8b0107941082a2d20715f7281951d9bb4b..5bca45319e501d7c11aef99558735f5547610c4f 100644 (file)
@@ -63,7 +63,9 @@ WinMain(HINSTANCE hInstance,
         LPSTR m_lpCmdLine,
         int nCmdShow )
 {
+#if !WXUSINGDLL
     wxCrtSetDbgFlag(_CRTDBG_LEAK_CHECK_DF);
+#endif
 
     return wxEntry((WXHINSTANCE) hInstance, (WXHINSTANCE) hPrevInstance,
                    m_lpCmdLine, nCmdShow);