X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac9251e32375d6f55e1e5126a8a704874ff39e53..e493ecef807f128f961046cc689807a1020688d8:/src/msw/fdrepdlg.cpp diff --git a/src/msw/fdrepdlg.cpp b/src/msw/fdrepdlg.cpp index f7c9f27d0c..27711a8dc0 100644 --- a/src/msw/fdrepdlg.cpp +++ b/src/msw/fdrepdlg.cpp @@ -190,7 +190,8 @@ void wxFindReplaceDialogImpl::SubclassDialog(HWND hwnd) // check that we don't subclass the parent twice: this would be a bad idea // as then we'd have infinite recursion in wxFindReplaceWindowProc - wxCHECK_RET( wxGetWindowProc(hwnd) != wxFindReplaceWindowProc, + wxCHECK_RET( wxGetWindowProc(hwnd) != + wx_reinterpret_cast(void *, wxFindReplaceWindowProc), _T("can't have more than one find dialog currently") ); // set the new one and save the old as user data to allow access to it