projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix confusing black padding in GUI dark mode (#2053).
[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 383362f570d97095e296d6559af3e2d23da44b36..83fe57a170310dcf9e90928be3e73cf0b2a068c4 100644
(file)
--- a/
src/wx/dir_picker_ctrl.h
+++ b/
src/wx/dir_picker_ctrl.h
@@
-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 *, wxSize size = wxDefaultSize
);
+
explicit DirPickerCtrl (wxWindow *
);
wxString GetPath () const;
void SetPath (wxString);
wxString GetPath () const;
void SetPath (wxString);
@@
-36,3
+42,5
@@
private:
wxString _path;
wxSizer* _sizer;
};
wxString _path;
wxSizer* _sizer;
};
+
+#endif