]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/fdrepdlg.cpp
really show the window after creation (calling Show(TRUE) doesn't do it any more)
[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);
     }
 }