From: Vadim Zeitlin <vadim@wxwidgets.org> Date: Fri, 10 Feb 2006 19:43:14 +0000 (+0000) Subject: compilation fix for gcc4 (patch 1428840) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4ff53d1b7a714df97b2b4e584c67c69037fc47b8 compilation fix for gcc4 (patch 1428840) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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