summaryrefslogtreecommitdiff
path: root/src/wx/new_film_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/new_film_dialog.h')
-rw-r--r--src/wx/new_film_dialog.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/wx/new_film_dialog.h b/src/wx/new_film_dialog.h
index bfcbd423c..f8f3aa08d 100644
--- a/src/wx/new_film_dialog.h
+++ b/src/wx/new_film_dialog.h
@@ -19,6 +19,7 @@
#include <wx/wx.h>
#include <wx/filepicker.h>
+#include "wx_util.h"
class DirPickerCtrl;
@@ -32,10 +33,10 @@ public:
private:
wxTextCtrl* _name;
-#ifdef __WXMSW__
+#ifdef DCPOMATIC_USE_OWN_DIR_PICKER
DirPickerCtrl* _folder;
-#else
+#else
wxDirPickerCtrl* _folder;
-#endif
+#endif
static boost::optional<std::string> _directory;
};