]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/helpchm.h
use WPARAM (which is 64 bit under Win64) for timer ids instead of long (which is...
[wxWidgets.git] / include / wx / msw / helpchm.h
index ffe1f7412663f61d0c4a9f9194f5ccebe8054c22..a1fbe91034b9397638cc65e6c7fe2a804bdaf0f1 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(WXWPARAM, param));
+        return CallHtmlHelp(win, str, cmd, reinterpret_cast<WXWPARAM>(param));
     }
 
     // even simpler wrappers using GetParentWindow() and GetValidFilename() as
@@ -69,7 +69,7 @@ protected:
 
     bool CallHtmlHelp(unsigned cmd, const void *param = NULL)
     {
-        return CallHtmlHelp(cmd, wx_reinterpret_cast(WXWPARAM, param));
+        return CallHtmlHelp(cmd, reinterpret_cast<WXWPARAM>(param));
     }
 
     // wrapper around CallHtmlHelp(HH_DISPLAY_TEXT_POPUP): only one of text and