From: Carl Hetherington Date: Sat, 5 Mar 2022 10:15:59 +0000 (+0100) Subject: Cleanup: tidying. X-Git-Tag: v2.16.8~30 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=f90bd4d97be25b3bca6b4523864896f5ff7b7e53 Cleanup: tidying. --- diff --git a/src/wx/kdm_output_panel.cc b/src/wx/kdm_output_panel.cc index 11f921aad..63618add6 100644 --- a/src/wx/kdm_output_panel.cc +++ b/src/wx/kdm_output_panel.cc @@ -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 { diff --git a/src/wx/kdm_output_panel.h b/src/wx/kdm_output_panel.h index 1f7373165..f831fdce0 100644 --- a/src/wx/kdm_output_panel.h +++ b/src/wx/kdm_output_panel.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2015-2017 Carl Hetherington + Copyright (C) 2015-2022 Carl Hetherington This file is part of DCP-o-matic. @@ -18,19 +18,19 @@ */ + #include "lib/kdm_with_metadata.h" -#include "wx_util.h" -#include "name_format_editor.h" #include #include #include -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, int> make ( - std::list screen_kdms, + std::list screen_kdms, std::string name, std::function confirm_overwrite ); diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h index e9be16b4f..f85110eae 100644 --- a/src/wx/wx_util.h +++ b/src/wx/wx_util.h @@ -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