]> git.saurik.com Git - wxWidgets.git/blame - include/wx/afterstd.h
wxMSWUniv wxWindowMSW vs. wxWindow fix.
[wxWidgets.git] / include / wx / afterstd.h
CommitLineData
df5168c4
MB
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>
65571936 9// Licence: wxWindows licence
df5168c4
MB
10///////////////////////////////////////////////////////////////////////////////
11
12/**
13 See the comments in beforestd.h.
14 */
15
335991af
MB
16#if defined(__WXMSW__) && defined(__MINGW32__)
17 #include "wx/msw/winundef.h"
18#endif
8143581b
SC
19// VC 7.x isn't as bad as VC6 and doesn't give these warnings
20#if defined(__VISUALC__) && __VISUALC__ <= 1200
e5898961
MB
21 // MSVC 5 does not have this
22 #if _MSC_VER > 1100
00ba414f
VZ
23 // don't restore this one for VC6, it gives it in each try/catch which is a
24 // bit annoying to say the least
25 #if _MSC_VER >= 0x1300
26 // unreachable code
27 #pragma warning(default:4702)
28 #endif // VC++ >= 7
29
e5898961
MB
30 #pragma warning(pop)
31 #else
32 // 'expression' : signed/unsigned mismatch
33 #pragma warning(default:4018)
34
35 // 'conversion' : conversion from 'type1' to 'type2',
36 // possible loss of data
37 #pragma warning(default:4244)
38
39 // C++ language change: to explicitly specialize class template
40 // 'identifier' use the following syntax
41 #pragma warning(default:4663)
42 #endif
df5168c4
MB
43#endif
44