]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/helpchm.h
only declare AddProcessCallback for wxMotif and wxGTK
[wxWidgets.git] / include / wx / msw / helpchm.h
index 8702c276a26926c6121767cb8d185bd06cf43ed3..341a07f0fee157be4fe30b518eafd7f5444367c8 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "wx/helpbase.h"
 
-class WXDLLEXPORT wxCHMHelpController : public wxHelpControllerBase
+class WXDLLIMPEXP_CORE wxCHMHelpController : public wxHelpControllerBase
 {
 public:
     wxCHMHelpController(wxWindow* parentWindow = NULL): wxHelpControllerBase(parentWindow) { }
@@ -56,7 +56,7 @@ protected:
     static bool CallHtmlHelp(wxWindow *win, const wxChar *str,
                              unsigned cmd, const void *param = NULL)
     {
-        return CallHtmlHelp(win, str, cmd, wx_reinterpret_cast(WPARAM, param));
+        return CallHtmlHelp(win, str, cmd, wx_reinterpret_cast(WXWPARAM, param));
     }
 
     // even simpler wrappers using GetParentWindow() and GetValidFilename() as