]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/fdrepdlg.cpp
Applied patch [ 929275 ] [wxOS2] Missing title bars.
[wxWidgets.git] / src / msw / fdrepdlg.cpp
index 871a4c7b0a48550c33bbd00d06d301c9d7deef56..b6acec5dabfa8b5296152f3a99c191905aa222cb 100644 (file)
@@ -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);
     }
 }