const wxPoint& pos = wxDefaultPosition,
const wxSize& sz = wxDefaultSize,
const wxString& name = wxDirDialogNameStr)
- : wxDialog(parent, wxID_ANY, title, pos, sz, style, name) {}
+ : wxDialog(parent, wxID_ANY, title, pos, sz, style, name)
+ , m_path(defaultPath)
+ {}
wxDirDialogBase() {}
virtual ~wxDirDialogBase() {}
Create(parent, title, defaultPath, style, pos, sz, name);
}
-bool wxGenericDirDialog::Create(wxWindow* parent, const wxString& title,
- const wxString& defaultPath, long style,
- const wxPoint& pos, const wxSize& sz,
- const wxString& name)
+bool wxGenericDirDialog::Create(wxWindow* WXUNUSED(parent),
+ const wxString& WXUNUSED(title),
+ const wxString& defaultPath, long style,
+ const wxPoint& WXUNUSED(pos),
+ const wxSize& WXUNUSED(sz),
+ const wxString& WXUNUSED(name))
{
wxBusyCursor cursor;