summaryrefslogtreecommitdiff
path: root/src/wx/self_dkdm_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-01-06 16:54:51 +0000
committerCarl Hetherington <cth@carlh.net>2016-01-06 16:54:51 +0000
commitfbbeeb38b0f028327f5f93b97c301fd5e114395e (patch)
tree8c2851a6ac758d275ae848b02504a2911ddb9526 /src/wx/self_dkdm_dialog.cc
parent16235888dcaee506a3bb562693e985c5bbbde293 (diff)
Add DCP-o-matic DKDMs straight to the configured list.
Diffstat (limited to 'src/wx/self_dkdm_dialog.cc')
-rw-r--r--src/wx/self_dkdm_dialog.cc32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/wx/self_dkdm_dialog.cc b/src/wx/self_dkdm_dialog.cc
index fed233ad1..710f5e42d 100644
--- a/src/wx/self_dkdm_dialog.cc
+++ b/src/wx/self_dkdm_dialog.cc
@@ -24,11 +24,6 @@
#include "lib/film.h"
#include "lib/screen.h"
#include <libcxml/cxml.h>
-#ifdef DCPOMATIC_USE_OWN_PICKER
-#include "dir_picker_ctrl.h"
-#else
-#include <wx/filepicker.h>
-#endif
#include <wx/treectrl.h>
#include <wx/listctrl.h>
#include <wx/stdpaths.h>
@@ -60,27 +55,6 @@ SelfDKDMDialog::SelfDKDMDialog (wxWindow* parent, boost::shared_ptr<const Film>
_cpl = new KDMCPLPanel (this, film->cpls ());
vertical->Add (_cpl);
- /* Sub-heading: Output */
- h = new wxStaticText (this, wxID_ANY, _("Output"));
- h->SetFont (subheading_font);
- vertical->Add (h, 0, wxALIGN_CENTER_VERTICAL | wxTOP, DCPOMATIC_SIZER_Y_GAP * 2);
-
- wxFlexGridSizer* table = new wxFlexGridSizer (2, DCPOMATIC_SIZER_X_GAP, DCPOMATIC_SIZER_Y_GAP);
-
- add_label_to_sizer (table, this, _("Write to"), true);
-
-#ifdef DCPOMATIC_USE_OWN_PICKER
- _folder = new DirPickerCtrl (this);
-#else
- _folder = new wxDirPickerCtrl (this, wxID_ANY, wxEmptyString, wxDirSelectorPromptStr, wxDefaultPosition, wxSize (300, -1));
-#endif
-
- _folder->SetPath (wxStandardPaths::Get().GetDocumentsDir());
-
- table->Add (_folder, 1, wxEXPAND);
-
- vertical->Add (table);
-
/* Make an overall sizer to get a nice border, and put some buttons in */
wxBoxSizer* overall_sizer = new wxBoxSizer (wxVERTICAL);
@@ -112,9 +86,3 @@ SelfDKDMDialog::cpl () const
{
return _cpl->cpl ();
}
-
-boost::filesystem::path
-SelfDKDMDialog::directory () const
-{
- return wx_to_std (_folder->GetPath ());
-}