]> git.saurik.com Git - wxWidgets.git/commitdiff
fix -Wundef gcc warnings about wxUSE_MS_HTML_HELP
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Jul 2006 00:11:52 +0000 (00:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Jul 2006 00:11:52 +0000 (00:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/cshelp.cpp

index ec7ec40de03c7a3ccf07ff34a949be84c944769a..f94b9e67d7acc94439f79941e5d46df7e6644974 100644 (file)
 #include "wx/module.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()