Cleanup: tidying.
authorCarl Hetherington <cth@carlh.net>
Sat, 5 Mar 2022 10:15:59 +0000 (11:15 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 15 Mar 2022 08:31:09 +0000 (09:31 +0100)
src/wx/kdm_output_panel.cc
src/wx/kdm_output_panel.h
src/wx/wx_util.h

index 11f921aad5c236b70b2e363ad6d6b5d7867bd866..63618add6e0d9f09a5dcee541686823c8aadd39a 100644 (file)
@@ -118,7 +118,7 @@ KDMOutputPanel::KDMOutputPanel (wxWindow* parent)
        _folder = new wxDirPickerCtrl (this, wxID_ANY, wxEmptyString, wxDirSelectorPromptStr, wxDefaultPosition, wxSize (300, -1));
 #endif
 
-       auto path = Config::instance()->default_kdm_directory ();
+       auto path = Config::instance()->default_kdm_directory();
        if (path) {
                _folder->SetPath (std_to_wx (path->string ()));
        } else {
index 1f7373165c4e459da7dc06c21d4f5d069a3442dd..f831fdce0937a44237d3df6f2ba565b2210da690 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2015-2017 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2015-2022 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #include "lib/kdm_with_metadata.h"
-#include "wx_util.h"
-#include "name_format_editor.h"
 #include <dcp/types.h>
 #include <wx/wx.h>
 #include <boost/filesystem.hpp>
 
-class wxRadioButton;
-class wxDirPickerCtrl;
+
 class DirPickerCtrl;
-class KDMTimingPanel;
 class Job;
-class Log;
+class NameFormatEditor;
+class wxDirPickerCtrl;
+class wxRadioButton;
+
 
 class KDMOutputPanel : public wxPanel
 {
@@ -52,7 +52,7 @@ public:
        }
 
        std::pair<std::shared_ptr<Job>, int> make (
-               std::list<KDMWithMetadataPtr > screen_kdms,
+               std::list<KDMWithMetadataPtr> screen_kdms,
                std::string name,
                std::function<bool (boost::filesystem::path)> confirm_overwrite
                );
index e9be16b4f8a0f40a23e63e03f066b2949f3817df..f85110eae69d749863d0a93d73072278fa2ab56e 100644 (file)
@@ -159,7 +159,7 @@ extern int wx_get (wxChoice* widget);
 extern int wx_get (wxSpinCtrl* widget);
 extern double wx_get (wxSpinCtrlDouble* widget);
 
-#if defined(__WXMSW__)
+#ifdef DCPOMATIC_WINDOWS
 #define DCPOMATIC_USE_OWN_PICKER
 #endif