- virtual wxDialog *CreateDialog()
- {
- wxFileDialog *p = new wxFileDialog(GetDialogParent(), m_message,
- wxEmptyString, wxEmptyString,
- m_wildcard, GetDialogStyle());
-
- // this sets both the default folder and the default file of the dialog
- p->SetPath(m_path);
- return p;
- }