From 264972539817115bdfe987e080f8449cad1757eb Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Thu, 19 Oct 2006 07:43:24 +0000 Subject: [PATCH] Include defs.h before including wxchar.h to make init.h self-contained (able to include this header in applications as the only one). Before with only include wxchar.h it was missing ATTRIBUTE_PRINTF and other things due to wxchar.h not including defs.h because of defs.h including wxchar.h itself. We probably don't need to include wxchar.h anymore in init.h then, but I don't want to rely on wxchar.h being always included from defs.h (if we can rely on that, please change if appropriate) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/init.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/wx/init.h b/include/wx/init.h index 7cdcda57f8..8ceae027c8 100644 --- a/include/wx/init.h +++ b/include/wx/init.h @@ -12,6 +12,7 @@ #ifndef _WX_INIT_H_ #define _WX_INIT_H_ +#include "wx/defs.h" #include "wx/wxchar.h" // ---------------------------------------------------------------------------- -- 2.47.2