X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Fnew_film_dialog.h;h=a835c7cebae4ebbfe251eb85d29af30c5120bffe;hb=cc3900735839ff4b0da0c046b5c606c440ba917a;hp=bfcbd423c2cb31a3cc60a9a07bfbc15ab8ad7e17;hpb=10c5866265db6830a67748ea3e5567ceef94951b;p=dcpomatic.git diff --git a/src/wx/new_film_dialog.h b/src/wx/new_film_dialog.h index bfcbd423c..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; @@ -28,14 +29,14 @@ 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; +#endif + static boost::optional _directory; };