X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ffile_dialog_wrapper.h;h=dd63ff2dae447bfdaccd6a9842e0f02092fd8d20;hp=251d1b71d15711462cd0be9cee6a0f038bbb6c9a;hb=00b60f52add041a36fa62118baf4b5ac78993980;hpb=bd3be0efd59054666fd04d69715275f257994f5e diff --git a/src/wx/file_dialog_wrapper.h b/src/wx/file_dialog_wrapper.h index 251d1b71d..dd63ff2da 100644 --- a/src/wx/file_dialog_wrapper.h +++ b/src/wx/file_dialog_wrapper.h @@ -32,7 +32,7 @@ public: void set (T) {} - T get () + boost::optional get () { return T (dcp::file_to_string (wx_to_std (_dialog->GetPath ()))); } @@ -49,7 +49,7 @@ public: delete this; } -private: +protected: wxWindow* _parent; wxFileDialog* _dialog; };