1 --- ../release/wxWidgets-2.6.3/include/wx/string.h 2005-12-15 11:26:27.000000000 -0800
2 +++ ./include/wx/string.h 2006-07-31 20:50:32.000000000 -0700
5 // VC++ free must take place in same DLL as allocation when using non dll
6 // run-time library (e.g. Multithreaded instead of Multithreaded DLL)
7 -#if defined(__VISUALC__) && defined(_MT) && !defined(_DLL)
8 +#if 1 || defined(__VISUALC__) && defined(_MT) && !defined(_DLL)
9 void Unlock() { if ( !IsEmpty() && --nRefs == 0) Free(); }
10 // we must not inline deallocation since allocation is not inlined
12 --- ../release/wxWidgets-2.6.3/src/common/string.cpp 2005-11-30 05:30:08.000000000 -0800
13 +++ ./src/common/string.cpp 2006-07-31 20:48:53.000000000 -0700
15 // wxStringData class deallocation
16 // ===========================================================================
18 -#if defined(__VISUALC__) && defined(_MT) && !defined(_DLL)
19 +#if 1 || defined(__VISUALC__) && defined(_MT) && !defined(_DLL)
20 # pragma message (__FILE__ ": building with Multithreaded non DLL runtime has a performance impact on wxString!")
21 void wxStringData::Free()