Basics of job view when sending KDM emails from dcpomatic_kdm.
[dcpomatic.git] / src / wx / new_film_dialog.h
index a835c7cebae4ebbfe251eb85d29af30c5120bffe..01064f2a6e2c1ad433c9dafce0b6342ed791ea8c 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
 
     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
 #include <wx/wx.h>
 #include <wx/filepicker.h>
 #include "wx_util.h"
+#include "table_dialog.h"
 
 class DirPickerCtrl;
 
-class NewFilmDialog : public wxDialog
+class NewFilmDialog : public TableDialog
 {
 public:
        NewFilmDialog (wxWindow *);
@@ -33,10 +34,10 @@ public:
 
 private:
        wxTextCtrl* _name;
-#ifdef DCPOMATIC_USE_OWN_DIR_PICKER
+#ifdef DCPOMATIC_USE_OWN_PICKER
        DirPickerCtrl* _folder;
-#else  
+#else
        wxDirPickerCtrl* _folder;
-#endif 
+#endif
        static boost::optional<boost::filesystem::path> _directory;
 };