From: Vadim Zeitlin Date: Sun, 30 Sep 2001 22:20:35 +0000 (+0000) Subject: compilation fix for !wxUSE_HELP X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/56029a746e46d565e1dd5b6e91a14b22f4079afe compilation fix for !wxUSE_HELP git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/cshelp.h b/include/wx/cshelp.h index 7f2e61b62b..e53d48efcc 100644 --- a/include/wx/cshelp.h +++ b/include/wx/cshelp.h @@ -17,10 +17,10 @@ #endif #include "wx/defs.h" -#include "wx/help.h" #if wxUSE_HELP +#include "wx/help.h" #include "wx/bmpbuttn.h" // ---------------------------------------------------------------------------- @@ -78,8 +78,6 @@ private: DECLARE_EVENT_TABLE() }; -#endif // wxUSE_HELP - // ---------------------------------------------------------------------------- // classes used to implement context help support // ---------------------------------------------------------------------------- @@ -177,5 +175,7 @@ protected: // Convenience function for turning context id into wxString WXDLLEXPORT wxString wxContextId(int id); +#endif // wxUSE_HELP + #endif // _WX_CSHELPH__