From: Vadim Zeitlin Date: Sun, 20 Jan 2013 02:09:18 +0000 (+0000) Subject: 64 bit compilation fix for wxTextCtrl in wxMSW. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3d37e56c0bf28b0cf684628c6af538354d63fc62?ds=inline 64 bit compilation fix for wxTextCtrl in wxMSW. Use DWORD_PTR instead of DWORD for a pointer. This was already done for another occurrence of the same cast in r58564 but somehow this one fell through the cracks. Close #14949. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index ddc7f78b55..930b37cd6d 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -1023,7 +1023,7 @@ wxTextCtrl::StreamOut(wxFontEncoding encoding, bool selectionOnly) const EDITSTREAM eds; wxZeroMemory(eds); - eds.dwCookie = (DWORD)&data; + eds.dwCookie = (DWORD_PTR)&data; eds.pfnCallback = wxRichEditStreamOut; ::SendMessage