- FilePickerCtrl (wxWindow* parent, wxString prompt, wxString wildcard, bool open, bool warn_overwrite);
-
- boost::filesystem::path path() const;
- void set_path(boost::filesystem::path path);
+ 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);