wxFindReplaceData *data,
const wxString &title,
int flags)
- : m_FindReplaceData(data)
+ : wxFindReplaceDialogBase(parent, data, title, flags)
{
Init();
m_isShown = FALSE;
// and from destroying our window
- m_hWnd = NULL;
+ m_hWnd = (WXHWND)NULL;
}
bool wxFindReplaceDialog::Create(wxWindow *parent,
return parent != NULL;
}
-// ----------------------------------------------------------------------------
-// wxFindReplaceDialog data access
-// ----------------------------------------------------------------------------
-
-void wxFindReplaceDialog::SetData(wxFindReplaceData *data)
-{
- delete m_FindReplaceData;
- m_FindReplaceData = data;
-}
-
// ----------------------------------------------------------------------------
// wxFindReplaceData show/hide
// ----------------------------------------------------------------------------