- FilePickerCtrl (wxWindow* parent, wxString prompt, wxString wildcard, bool open, bool warn_overwrite);
-
- wxString GetPath () const;
- void SetPath (wxString);
- void SetWildcard (wxString);
+ FilePickerCtrl(
+ wxWindow* parent,
+ wxString prompt,
+ wxString wildcard,
+ bool open,
+ bool warn_overwrite,
+ std::string initial_path_key,
+ boost::optional<std::string> initial_filename = boost::optional<std::string>(),
+ boost::optional<boost::filesystem::path> override_path = boost::optional<boost::filesystem::path>()
+ );
+
+ boost::optional<boost::filesystem::path> path() const;
+ void set_path(boost::optional<boost::filesystem::path> path);
+ void set_wildcard(wxString);