From: Vadim Zeitlin Date: Wed, 28 Nov 2001 19:27:33 +0000 (+0000) Subject: HelpGen doesn't work in GUI mode X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a3b72ffb8f0431145da6e6d0fcb0338b74ea6814?ds=inline HelpGen doesn't work in GUI mode git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/utils/HelpGen/src/HelpGen.cpp b/utils/HelpGen/src/HelpGen.cpp index 9fed79e63b..e6ddfffb18 100644 --- a/utils/HelpGen/src/HelpGen.cpp +++ b/utils/HelpGen/src/HelpGen.cpp @@ -51,6 +51,10 @@ // wxWindows #include "wx/wxprec.h" +#if wxUSE_GUI + #error "This is a console program and can be only compiled using wxBase" +#endif + #ifndef WX_PRECOMP #include "wx/string.h" #include "wx/log.h" @@ -1977,6 +1981,9 @@ static const wxString GetVersionString() /* $Log$ + Revision 1.16 2001/11/28 19:27:33 VZ + HelpGen doesn't work in GUI mode + Revision 1.15 2001/11/22 21:59:58 GD use "..." instead of <...> for wx headers