fixed STC under Win64: as wxStyledTextCtrl::SendMsg() used (32 bit) long arguments, passing (64 bit) pointers to it almost certainly didn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user