X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fnew_film_dialog.h;h=6ce3d6e3a20cffb7a68862156cbc69bd28bb4a7a;hb=e60bb3e51bd1508b149e6b8f6608f09b5196ae26;hp=bfcbd423c2cb31a3cc60a9a07bfbc15ab8ad7e17;hpb=11d0d8d07917543d6c40a6bb1fe5581ae216f5aa;p=dcpomatic.git diff --git a/src/wx/new_film_dialog.h b/src/wx/new_film_dialog.h index bfcbd423c..6ce3d6e3a 100644 --- a/src/wx/new_film_dialog.h +++ b/src/wx/new_film_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Carl Hetherington + Copyright (C) 2012-2014 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,23 +19,25 @@ #include #include +#include "wx_util.h" +#include "table_dialog.h" class DirPickerCtrl; -class NewFilmDialog : public wxDialog +class NewFilmDialog : public TableDialog { 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 wxDirPickerCtrl* _folder; #endif - static boost::optional _directory; + static boost::optional _directory; };