added wxEncodingToCodepage() and implemented it properly (using in32 API instead...
[wxWidgets.git] / include / wx / cshelp.h
index 7f2e61b62bce6058d9945fa2b3bc286ec8a9b1ce..e53d48efccbdfc31cd528711db66e193a85fc1f9 100644 (file)
 #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__