Fix alignment of labels on macOS (#2043).
[dcpomatic.git] / src / wx / dir_picker_ctrl.h
index 2ab2a5714b8f42d7ae96aa5625421abd45fc5914..83fe57a170310dcf9e90928be3e73cf0b2a068c4 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+#ifndef DCPOMATIC_DIR_PICKER_CTRL
+#define DCPOMATIC_DIR_PICKER_CTRL
+
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
 
 class DirPickerCtrl : public wxPanel
 {
 public:
-       DirPickerCtrl (wxWindow *);
+       explicit DirPickerCtrl (wxWindow *);
 
        wxString GetPath () const;
        void SetPath (wxString);
@@ -37,3 +43,4 @@ private:
        wxSizer* _sizer;
 };
 
+#endif