Prevent un-prompted overwrite of files when exporting things from config (#1383).
[dcpomatic.git] / src / wx / wx_util.h
index 1acca044a6fd815445de113955f4c88e373db4fb..ee06c380778c46896a3dd584b01a15893ef22bad 100644 (file)
@@ -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);