From 7c08b47173a8dfcdc8af7349bd708c9b84b1d636 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 20 Mar 2008 15:06:14 +0000 Subject: [PATCH] compilation fix for wxUSE_GUI=0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/defs.h b/include/wx/defs.h index 87b0f82d3e..1a7e0ff56e 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -2009,7 +2009,7 @@ enum /* (or else they would be always different!). Using wxGetWindowId() which does */ /* the cast itself is recommended. Note that this type can't be unsigned */ /* because wxID_ANY == -1 is a valid (and largely used) value for window id. */ -#ifdef __cplusplus +#if defined(__cplusplus) && wxUSE_GUI #include "wx/windowid.h" #endif -- 2.50.0