compilation fix for wxUSE_GUI=0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-03-20 15:06:14 +00:00
parent 3c4f71cc3d
commit 7c08b47173

View File

@@ -2009,7 +2009,7 @@ enum
/* (or else they would be always different!). Using wxGetWindowId() which does */ /* (or else they would be always different!). Using wxGetWindowId() which does */
/* the cast itself is recommended. Note that this type can't be unsigned */ /* 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. */ /* 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" #include "wx/windowid.h"
#endif #endif