Rename DCPOMATIC_USE_OWN_DIR_PICKER -> DCPOMATIC_USE_OWN_PICKER.
authorCarl Hetherington <cth@carlh.net>
Tue, 6 Oct 2015 11:38:09 +0000 (12:38 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 9 Oct 2015 12:44:52 +0000 (13:44 +0100)
src/wx/config_dialog.cc
src/wx/kdm_output_panel.cc
src/wx/kdm_output_panel.h
src/wx/new_film_dialog.cc
src/wx/new_film_dialog.h
src/wx/wx_util.h

index dcafee4caff7ae207e499f3bdcac6b5899f4583d..722fa59ce2fa4987378de2cc0976cddc85c11a4b 100644 (file)
@@ -388,7 +388,7 @@ private:
                }
 
                add_label_to_sizer (table, _panel, _("Default directory for new films"), true);
-#ifdef DCPOMATIC_USE_OWN_DIR_PICKER
+#ifdef DCPOMATIC_USE_OWN_PICKER
                _directory = new DirPickerCtrl (_panel);
 #else
                _directory = new wxDirPickerCtrl (_panel, wxDD_DIR_MUST_EXIST);
@@ -536,7 +536,7 @@ private:
        wxSpinCtrl* _audio_delay;
        wxButton* _isdcf_metadata_button;
        wxSpinCtrl* _still_length;
-#ifdef DCPOMATIC_USE_OWN_DIR_PICKER
+#ifdef DCPOMATIC_USE_OWN_PICKER
        DirPickerCtrl* _directory;
 #else
        wxDirPickerCtrl* _directory;
index fd97d1c3b0ba9edab799191e34a0ecd94262cb57..db4ad8647bdd83d07a5d64e31434f6cdcefd4a85 100644 (file)
@@ -20,7 +20,7 @@
 #include "kdm_output_panel.h"
 #include "wx_util.h"
 #include <dcp/types.h>
-#ifdef DCPOMATIC_USE_OWN_DIR_PICKER
+#ifdef DCPOMATIC_USE_OWN_PICKER
 #include "dir_picker_ctrl.h"
 #else
 #include <wx/filepicker.h>
@@ -45,7 +45,7 @@ KDMOutputPanel::KDMOutputPanel (wxWindow* parent, bool interop)
        _write_to = new wxRadioButton (this, wxID_ANY, _("Write to"));
        table->Add (_write_to, 1, wxEXPAND);
 
-#ifdef DCPOMATIC_USE_OWN_DIR_PICKER
+#ifdef DCPOMATIC_USE_OWN_PICKER
        _folder = new DirPickerCtrl (this);
 #else
        _folder = new wxDirPickerCtrl (this, wxID_ANY, wxEmptyString, wxDirSelectorPromptStr, wxDefaultPosition, wxSize (300, -1));
index d2423b63e67f35f976e08a1114fca3f46a37a336..a9841b3a50b91f9e05930e7772a547a6288e5e9b 100644 (file)
@@ -38,7 +38,7 @@ public:
 private:
        wxChoice* _type;
        wxRadioButton* _write_to;
-#ifdef DCPOMATIC_USE_OWN_DIR_PICKER
+#ifdef DCPOMATIC_USE_OWN_PICKER
        DirPickerCtrl* _folder;
 #else
        wxDirPickerCtrl* _folder;
index 96c8a0b0c59fef512ba3791c3d01ae5dca4b440f..eae14df74538e122fdc6957defbd634d1b28a9b5 100644 (file)
@@ -22,7 +22,7 @@
 #include "lib/config.h"
 #include "new_film_dialog.h"
 #include "wx_util.h"
-#ifdef DCPOMATIC_USE_OWN_DIR_PICKER
+#ifdef DCPOMATIC_USE_OWN_PICKER
 #include "dir_picker_ctrl.h"
 #endif
 
@@ -39,7 +39,7 @@ NewFilmDialog::NewFilmDialog (wxWindow* parent)
 
        add (_("Create in folder"), true);
 
-#ifdef DCPOMATIC_USE_OWN_DIR_PICKER
+#ifdef DCPOMATIC_USE_OWN_PICKER
        _folder = new DirPickerCtrl (this);
 #else
        _folder = new wxDirPickerCtrl (this, wxID_ANY, wxEmptyString, wxDirSelectorPromptStr, wxDefaultPosition, wxSize (300, -1));
index 6ce3d6e3a20cffb7a68862156cbc69bd28bb4a7a..01064f2a6e2c1ad433c9dafce0b6342ed791ea8c 100644 (file)
@@ -34,7 +34,7 @@ public:
 
 private:
        wxTextCtrl* _name;
-#ifdef DCPOMATIC_USE_OWN_DIR_PICKER
+#ifdef DCPOMATIC_USE_OWN_PICKER
        DirPickerCtrl* _folder;
 #else
        wxDirPickerCtrl* _folder;
index da544feb18fc9e3e0a2a975a44274fb75b755caf..5afb978b79b5ceef5b1364107dffc3934280680c 100644 (file)
@@ -90,7 +90,7 @@ extern double wx_get (wxSpinCtrlDouble* widget);
    Use our own dir picker as this is the least bad option I can think of.
 */
 #if defined(__WXMSW__) || (GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION == 24 && (GTK_MICRO_VERSION == 17 || GTK_MICRO_VERSION == 20 || GTK_MICRO_VERSION == 23))
-#define DCPOMATIC_USE_OWN_DIR_PICKER
+#define DCPOMATIC_USE_OWN_PICKER
 #endif
 
 #endif