- const wxString& path = wxEmptyString,
- const wxString& message = wxDirSelectorPromptStr,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize, long style = wxDIRP_DEFAULT_STYLE,
- const wxValidator& validator = wxDefaultValidator,
- const wxString& name = wxDirPickerCtrlNameStr)
- { return wxFileDirPickerCtrlBase::CreateBase(parent, id, path, message, wxEmptyString,
- pos, size, style, validator, name); }
+ const wxString& path = wxEmptyString,
+ const wxString& message = wxDirSelectorPromptStr,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxDIRP_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxDirPickerCtrlNameStr)
+ {
+ return wxFileDirPickerCtrlBase::CreateBase
+ (
+ parent, id, path, message, wxEmptyString,
+ pos, size, style, validator, name
+ );
+ }
+
+ void SetDirName(const wxFileName &dirname)
+ { SetPath(dirname.GetPath()); }