+protected:
+ void UpdateDialogPath(wxDialog *p)
+ { wxStaticCast(p, wxFileDialog)->SetPath(m_path); }
+ void UpdatePathFromDialog(wxDialog *p)
+ { m_path = wxStaticCast(p, wxFileDialog)->GetPath(); }
+
+ // Set the initial directory for the dialog but without overriding the
+ // directory of the currently selected file, if any.
+ void DoSetInitialDirectory(wxFileDialog* dialog, const wxString& dir);
+