X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/975b6bcf9b134b950832a60fd2e845e5f1bcd6bf..569f027b89890ed6f5ddbaf45bb1b53810e3519d:/src/msw/fdrepdlg.cpp?ds=inline diff --git a/src/msw/fdrepdlg.cpp b/src/msw/fdrepdlg.cpp index 871a4c7b0a..b6acec5dab 100644 --- a/src/msw/fdrepdlg.cpp +++ b/src/msw/fdrepdlg.cpp @@ -205,7 +205,7 @@ void wxFindReplaceDialogImpl::SubclassDialog(HWND hwnd) // from wxFindReplaceWindowProc m_oldParentWndProc = wxSetWindowProc(hwnd, wxFindReplaceWindowProc); - wxSetWindowUserData(hwnd, m_oldParentWndProc); + wxSetWindowUserData(hwnd, (void *)m_oldParentWndProc); } }