Fix bug with using uninitialized flags in GetParentForModalDialog().
[wxWidgets.git] / include / wx / afterstd.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: include/wx/afterstd.h
3 // Purpose: #include after STL headers
4 // Author: Vadim Zeitlin
5 // Modified by:
6 // Created: 07/07/03
7 // RCS-ID: $Id$
8 // Copyright: (c) 2003 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 /**
13 See the comments in beforestd.h.
14 */
15
16 #if defined(__WXMSW__)
17 #include "wx/msw/winundef.h"
18 #endif
19
20 // undo what we did in wx/beforestd.h
21 #if defined(__VISUALC__) && __VISUALC__ <= 1201
22 // MSVC 5 does not have this
23 #if _MSC_VER > 1100
24 #pragma warning(pop)
25 #else
26 // 'expression' : signed/unsigned mismatch
27 #pragma warning(default:4018)
28
29 // 'identifier' : unreferenced formal parameter
30 #pragma warning(default:4100)
31
32 // 'conversion' : conversion from 'type1' to 'type2',
33 // possible loss of data
34 #pragma warning(default:4244)
35
36 // C++ language change: to explicitly specialize class template
37 // 'identifier' use the following syntax
38 #pragma warning(default:4663)
39 #endif
40 #endif
41
42 // see beforestd.h for explanation
43 #if defined(HAVE_VISIBILITY) && defined(HAVE_BROKEN_LIBSTDCXX_VISIBILITY)
44 #pragma GCC visibility pop
45 #endif