]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/PlatWX.cpp
avoid duplicating wxWindow::HandleCommand() in wxFrame, only handle the commands...
[wxWidgets.git] / src / stc / PlatWX.cpp
index 9379cc34a6c7db3e3e4c2fc99278baa7d9298761..f7e2de3c0c37e88a37428f6ffa15a954c37ba7e1 100644 (file)
@@ -1430,7 +1430,7 @@ long Platform::SendScintillaPointer(WindowID w,
                                     void *lParam) {
 
     wxStyledTextCtrl* stc = (wxStyledTextCtrl*)w;
-    return stc->SendMsg(msg, wParam, (long)lParam);
+    return stc->SendMsg(msg, wParam, (wxIntPtr)lParam);
 }