]> git.saurik.com Git - wxWidgets.git/commitdiff
Include defs.h before including wxchar.h to make init.h self-contained (able to inclu...
authorMart Raudsepp <leio@gentoo.org>
Thu, 19 Oct 2006 07:43:24 +0000 (07:43 +0000)
committerMart Raudsepp <leio@gentoo.org>
Thu, 19 Oct 2006 07:43:24 +0000 (07:43 +0000)
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

index 7cdcda57f8b49014ca14f98f351375f24e0ef971..8ceae027c8c0ce0972ad313c799b5aa734a84f23 100644 (file)
@@ -12,6 +12,7 @@
 #ifndef _WX_INIT_H_
 #define _WX_INIT_H_
 
+#include "wx/defs.h"
 #include "wx/wxchar.h"
 
 // ----------------------------------------------------------------------------