]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for !wxUSE_HELP
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Sep 2001 22:20:35 +0000 (22:20 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Sep 2001 22:20:35 +0000 (22:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/cshelp.h

index 7f2e61b62bce6058d9945fa2b3bc286ec8a9b1ce..e53d48efccbdfc31cd528711db66e193a85fc1f9 100644 (file)
 #endif
 
 #include "wx/defs.h"
 #endif
 
 #include "wx/defs.h"
-#include "wx/help.h"
 
 #if wxUSE_HELP
 
 
 #if wxUSE_HELP
 
+#include "wx/help.h"
 #include "wx/bmpbuttn.h"
 
 // ----------------------------------------------------------------------------
 #include "wx/bmpbuttn.h"
 
 // ----------------------------------------------------------------------------
@@ -78,8 +78,6 @@ private:
     DECLARE_EVENT_TABLE()
 };
 
     DECLARE_EVENT_TABLE()
 };
 
-#endif // wxUSE_HELP
-
 // ----------------------------------------------------------------------------
 // classes used to implement context help support
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // 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);
 
 // Convenience function for turning context id into wxString
 WXDLLEXPORT wxString wxContextId(int id);
 
+#endif // wxUSE_HELP
+
 #endif // _WX_CSHELPH__
 
 #endif // _WX_CSHELPH__