diff --git a/Wxwin.dsp b/Wxwin.dsp index 90ff16fad2..0e5320e3e1 100644 --- a/Wxwin.dsp +++ b/Wxwin.dsp @@ -74,7 +74,7 @@ LIB32=link.exe -lib # Name "wxWin - Win32 Release" # Name "wxWin - Win32 Debug" -# Begin Group "Ressourcendateien" +# Begin Group "Resources" # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" # Begin Source File @@ -82,7 +82,7 @@ LIB32=link.exe -lib SOURCE=.\include\wx\msw\wx.rc # End Source File # End Group -# Begin Group "win-dateien" +# Begin Group "win-sources" # PROP Default_Filter "" # Begin Source File @@ -1476,7 +1476,7 @@ SOURCE=.\include\wx\msw\wave.h SOURCE=.\include\wx\msw\window.h # End Source File # End Group -# Begin Group "generic-datein" +# Begin Group "generic-sources" # PROP Default_Filter "" # Begin Source File @@ -1608,7 +1608,7 @@ SOURCE=.\include\wx\generic\textdlgg.h SOURCE=.\include\wx\generic\treectrl.h # End Source File # End Group -# Begin Group "common-dateien" +# Begin Group "common-sources" # PROP Default_Filter "" # Begin Source File @@ -1803,7 +1803,7 @@ SOURCE=.\src\common\Y_tab.c SOURCE=.\src\common\zstream.cpp # End Source File # End Group -# Begin Group "ole-dateien" +# Begin Group "ole-sources" # PROP Default_Filter "" # Begin Source File diff --git a/include/wx/msw/setup.h b/include/wx/msw/setup.h index b46d01b5ef..82bc3a3c03 100644 --- a/include/wx/msw/setup.h +++ b/include/wx/msw/setup.h @@ -114,12 +114,12 @@ #define wxUSE_DYNAMIC_CLASSES 1 // If 1, enables provision of run-time type information. // NOW MANDATORY: don't change. -#define wxUSE_MEMORY_TRACING 0 +#define wxUSE_MEMORY_TRACING 1 // If 1, enables debugging versions of wxObject::new and // wxObject::delete *IF* WXDEBUG is also defined. // WARNING: this code may not work with all architectures, especially // if alignment is an issue. -#define wxUSE_DEBUG_CONTEXT 0 +#define wxUSE_DEBUG_CONTEXT 1 // If 1, enables wxDebugContext, for // writing error messages to file, etc. // If WXDEBUG is not defined, will still use @@ -128,7 +128,7 @@ // since you may well need to output // an error log in a production // version (or non-debugging beta) -#define wxUSE_GLOBAL_MEMORY_OPERATORS 0 +#define wxUSE_GLOBAL_MEMORY_OPERATORS 1 // In debug mode, cause new and delete to be redefined globally. // If this causes problems (e.g. link errors), set this to 0. @@ -139,7 +139,7 @@ #define wxUSE_C_MAIN 0 // Set to 1 to use main.c instead of main.cpp (UNIX only) -#define wxUSE_ODBC 0 +#define wxUSE_ODBC 1 // Define 1 to use ODBC classes #define wxUSE_IOSTREAMH 1 diff --git a/src/msw/app.cpp b/src/msw/app.cpp index ef1aa4bd95..f239202b9e 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -51,6 +51,8 @@ #endif // use debug CRT functions for memory leak detections in VC++ +/* Here we go again commenting it out. PLEASE don't + * uncomment this again. #if defined(__WXDEBUG__) && defined(_MSC_VER) // VC++ uses this macro as debug/release mode indicator #ifndef _DEBUG @@ -59,6 +61,7 @@ #include #endif +*/ extern char *wxBuffer; extern char *wxOsVersion; @@ -112,12 +115,15 @@ bool wxApp::Initialize() { wxBuffer = new char[1500]; +/* PLEASE don't uncomment this again. IT DOESN'T WORK when building + * using the makefile. #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 && wxUSE_MEMORY_TRACING) || wxUSE_DEBUG_CONTEXT #if defined(_WINDLL)