projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patch #1581767: Another fix for wx.lib.calendar
[wxWidgets.git]
/
src
/
common
/
cshelp.cpp
diff --git
a/src/common/cshelp.cpp
b/src/common/cshelp.cpp
index ec7ec40de03c7a3ccf07ff34a949be84c944769a..57cea314d25c3a7544ae53c6a0c674edd75fbfbb 100644
(file)
--- a/
src/common/cshelp.cpp
+++ b/
src/common/cshelp.cpp
@@
-28,12
+28,17
@@
#ifndef WX_PRECOMP
#include "wx/app.h"
#ifndef WX_PRECOMP
#include "wx/app.h"
+ #include "wx/module.h"
#endif
#include "wx/tipwin.h"
#endif
#include "wx/tipwin.h"
-#include "wx/module.h"
#include "wx/cshelp.h"
#include "wx/cshelp.h"
+// wxUSE_MS_HTML_HELP is not defined under platforms other than MSW
+#ifndef wxUSE_MS_HTML_HELP
+ #define wxUSE_MS_HTML_HELP 0
+#endif
+
#if wxUSE_MS_HTML_HELP
#include "wx/msw/helpchm.h" // for ShowContextHelpPopup
#include "wx/utils.h" // for wxGetMousePosition()
#if wxUSE_MS_HTML_HELP
#include "wx/msw/helpchm.h" // for ShowContextHelpPopup
#include "wx/utils.h" // for wxGetMousePosition()