projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update dialog layout fixes.
[dcpomatic.git]
/
src
/
wx
/
dir_picker_ctrl.h
diff --git
a/src/wx/dir_picker_ctrl.h
b/src/wx/dir_picker_ctrl.h
index 2ab2a5714b8f42d7ae96aa5625421abd45fc5914..83fe57a170310dcf9e90928be3e73cf0b2a068c4 100644
(file)
--- a/
src/wx/dir_picker_ctrl.h
+++ b/
src/wx/dir_picker_ctrl.h
@@
-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.
This file is part of DCP-o-matic.
@@
-18,12
+18,18
@@
*/
*/
+#ifndef DCPOMATIC_DIR_PICKER_CTRL
+#define DCPOMATIC_DIR_PICKER_CTRL
+
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
#include <wx/wx.h>
#include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
class DirPickerCtrl : public wxPanel
{
public:
class DirPickerCtrl : public wxPanel
{
public:
- DirPickerCtrl (wxWindow *);
+
explicit
DirPickerCtrl (wxWindow *);
wxString GetPath () const;
void SetPath (wxString);
wxString GetPath () const;
void SetPath (wxString);
@@
-37,3
+43,4
@@
private:
wxSizer* _sizer;
};
wxSizer* _sizer;
};
+#endif