Keep track of the directory to put new films in across uses of the dialog (#143).
[dcpomatic.git] / src / wx / new_film_dialog.h
index 3d1253ecc7d3cbae849afc61ca20ad3195aca67a..715f71f516f309d9db14b9761c40ef9b348f7591 100644 (file)
@@ -26,6 +26,7 @@ class NewFilmDialog : public wxDialog
 {
 public:
        NewFilmDialog (wxWindow *);
+       ~NewFilmDialog ();
 
        std::string get_path () const;
 
@@ -35,5 +36,6 @@ private:
        DirPickerCtrl* _folder;
 #else
        wxDirPickerCtrl* _folder;
-#endif 
+#endif
+       static std::string _directory;
 };