]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dummy.cpp
Dialog items inherit parent's font now
[wxWidgets.git] / src / msw / dummy.cpp
index 807c6a8b0107941082a2d20715f7281951d9bb4b..dda57b7e3b3a0757f37f57c511e1bbc27f49568c 100644 (file)
 #endif
 
 // if wxWindows is in the DLL link our entry point with the application
-#if defined(WXUSINGDLL)
+// N.B. see include/wx/app.h, we're now putting this in IMPLEMENT_APP so we
+// don't have to link our apps with dummy.obj.
+
+#if 0 // defined(WXUSINGDLL)
 
 // NT defines APIENTRY, 3.x not
 #if !defined(APIENTRY)
@@ -63,7 +66,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);