X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fnew_film_dialog.h;h=a835c7cebae4ebbfe251eb85d29af30c5120bffe;hb=cc3900735839ff4b0da0c046b5c606c440ba917a;hp=3d1253ecc7d3cbae849afc61ca20ad3195aca67a;hpb=4f584c5fea581bf09afc639e964f491f25c31186;p=dcpomatic.git diff --git a/src/wx/new_film_dialog.h b/src/wx/new_film_dialog.h index 3d1253ecc..a835c7ceb 100644 --- a/src/wx/new_film_dialog.h +++ b/src/wx/new_film_dialog.h @@ -19,6 +19,7 @@ #include #include +#include "wx_util.h" class DirPickerCtrl; @@ -26,14 +27,16 @@ class NewFilmDialog : public wxDialog { public: NewFilmDialog (wxWindow *); + ~NewFilmDialog (); - std::string get_path () const; + boost::filesystem::path get_path () const; private: wxTextCtrl* _name; -#ifdef __WXMSW__ +#ifdef DCPOMATIC_USE_OWN_DIR_PICKER DirPickerCtrl* _folder; -#else +#else wxDirPickerCtrl* _folder; #endif + static boost::optional _directory; };