projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Try to improve the checking for overwrite of export files a little
[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..b30288fa74826ec7d90994b037d1157d78fbfc0a 100644
(file)
--- a/
src/wx/file_picker_ctrl.h
+++ b/
src/wx/file_picker_ctrl.h
@@
-23,7
+23,7
@@
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
+38,5
@@
private:
wxString _prompt;
wxString _wildcard;
bool _open;
wxString _prompt;
wxString _wildcard;
bool _open;
+ bool _warn_overwrite;
};
};