projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use slightly better icons for macOS prefs in dark mode.
[dcpomatic.git]
/
src
/
wx
/
file_picker_ctrl.h
diff --git
a/src/wx/file_picker_ctrl.h
b/src/wx/file_picker_ctrl.h
index d0c4d56c86f789ff50a8edb3856a1d370e1d8e16..df7226655ecbb75fd69b47b97a514aea4b678923 100644
(file)
--- a/
src/wx/file_picker_ctrl.h
+++ b/
src/wx/file_picker_ctrl.h
@@
-18,12
+18,15
@@
*/
*/
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
#include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
class FilePickerCtrl : public wxPanel
{
public:
class FilePickerCtrl : public wxPanel
{
public:
- FilePickerCtrl (wxWindow* parent, wxString prompt, wxString wildcard, bool open);
+ FilePickerCtrl (wxWindow* parent, wxString prompt, wxString wildcard, bool open
, bool warn_overwrite
);
wxString GetPath () const;
void SetPath (wxString);
wxString GetPath () const;
void SetPath (wxString);
@@
-38,4
+41,5
@@
private:
wxString _prompt;
wxString _wildcard;
bool _open;
wxString _prompt;
wxString _wildcard;
bool _open;
+ bool _warn_overwrite;
};
};