X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/975b6bcf9b134b950832a60fd2e845e5f1bcd6bf..76d81b4d11617b806d6ab9bd60614c39999cdece:/src/msw/fdrepdlg.cpp 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); } }