summaryrefslogtreecommitdiff
path: root/src/wx/wx_util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-10-17 19:23:18 +0100
committerCarl Hetherington <cth@carlh.net>2018-10-17 19:23:18 +0100
commitce9bb37168f52a8d1348e1334fc15d5778fffa75 (patch)
treee77c65084e72290f77d5346e4020d3357403c018 /src/wx/wx_util.h
parent4eaecb1841d3a80a4f06613ad4c0bd44d89285a9 (diff)
Prevent un-prompted overwrite of files when exporting things from config (#1383).
Diffstat (limited to 'src/wx/wx_util.h')
-rw-r--r--src/wx/wx_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h
index 1acca044a..ee06c3807 100644
--- a/src/wx/wx_util.h
+++ b/src/wx/wx_util.h
@@ -86,7 +86,7 @@ extern std::string string_client_data (wxClientData* o);
extern wxString time_to_timecode (DCPTime t, double fps);
extern void setup_audio_channels_choice (wxChoice* choice, int minimum);
extern wxSplashScreen* maybe_show_splash ();
-extern boost::filesystem::path path_from_file_dialog (wxFileDialog* dialog, std::string extension);
+extern boost::optional<boost::filesystem::path> path_from_file_dialog (wxFileDialog* dialog, std::string extension);
extern double calculate_mark_interval (double start);
extern void checked_set (FilePickerCtrl* widget, boost::filesystem::path value);