added configure option for wxUSE_AUTOID_MANAGEMENT

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-01-06 21:01:38 +00:00
parent 1e9a3d4b67
commit 75a29ef15c
11 changed files with 108 additions and 11 deletions

View File

@@ -894,7 +894,11 @@
// long-running programs can run into problems with ids reuse without this. On
// the other platforms, where the ids have the full int range, this shouldn't
// be necessary.
#define wxUSE_AUTOID_MANAGEMENT defined(__WXMSW__)
#ifdef __WXMSW__
#define wxUSE_AUTOID_MANAGEMENT 1
#else
#define wxUSE_AUTOID_MANAGEMENT 0
#endif
// ----------------------------------------------------------------------------
// common dialogs