add wxUSE_WEAKREF (modified partially applied patch 1870445)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-02-09 14:40:26 +00:00
parent b721db1057
commit 4732e2dca9
14 changed files with 468 additions and 303 deletions

View File

@@ -235,6 +235,16 @@
// Recommended setting: 0 unless you do plan to develop MT applications
#define wxUSE_THREADS 1
// Set wxUSE_WEAKREF to 1 t support use of weak references to common classes
// in wxWidgets (wxWeakRef<T>). Set to 0 if your compiler has problems with
// the template-based implementation (Embedded Visual C++ 4 for ARM has a bug
// in this area, Visual C compiler options "/vmm /vmg" may help then).
//
// Default is 1
//
// Recommended setting: 1
#define wxUSE_WEAKREF 1
// If enabled, compiles wxWidgets streams classes
//
// wx stream classes are used for image IO, process IO redirection, network