projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hopefully fix crash when the same frame is encoded twice.
[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 61e7bd55f33ba980648d17bc91f9e4d9a35e9852..df7226655ecbb75fd69b47b97a514aea4b678923 100644
(file)
--- a/
src/wx/file_picker_ctrl.h
+++ b/
src/wx/file_picker_ctrl.h
@@
-18,15
+18,19
@@
*/
*/
+#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);
+ FilePickerCtrl (wxWindow* parent, wxString prompt, wxString wildcard
, bool open, bool warn_overwrite
);
wxString GetPath () const;
void SetPath (wxString);
wxString GetPath () const;
void SetPath (wxString);
+ void SetWildcard (wxString);
private:
void browse_clicked ();
private:
void browse_clicked ();
@@
-36,4
+40,6
@@
private:
wxSizer* _sizer;
wxString _prompt;
wxString _wildcard;
wxSizer* _sizer;
wxString _prompt;
wxString _wildcard;
+ bool _open;
+ bool _warn_overwrite;
};
};