]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wxchar.h
Resolve GCC's 'type-punned pointer will break strict-aliasing rules' warning by break...
[wxWidgets.git] / include / wx / wxchar.h
index ee1bed8f1cff6be686c41d8d6224e456319741c1..06d8157871105780ba6047daf24323b3f14fbbb9 100644 (file)
@@ -1,7 +1,7 @@
 //////////////////////////////////////////////////////////////////////////////
 // Name:        wx/wxchar.h
 // Purpose:     Declarations common to wx char/wchar_t usage (wide chars)
-// Author:      Joel Farley, Ove Kåven
+// Author:      Joel Farley, Ove Kåven
 // Modified by: Vadim Zeitlin, Robert Roebling, Ron Lee
 // Created:     1998/06/12
 // RCS-ID:      $Id$
 #ifndef _WX_WXCHAR_H_
 #define _WX_WXCHAR_H_
 
-// include wxChar type definition:
-#include "wx/chartype.h"
-
-// and wrappers for CRT functions:
-#include "wx/wxcrt.h"
-#include "wx/wxcrtvararg.h"
+// This header used to define CRT functions wrappers in wxWidgets 2.8. This is
+// now done in (headers included by) wx/crt.h, so include it for compatibility:
+#include "wx/crt.h"
 
 #endif /* _WX_WXCHAR_H_ */