use wx/crt.h as the 'official' header for wxCRT wrappers instead of wxchar.h; add comments explaining that users should include wx/crt.h to implementation headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -12,11 +12,8 @@
|
||||
#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_ */
|
||||
|
Reference in New Issue
Block a user