X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffile_picker_ctrl.h;h=d0c4d56c86f789ff50a8edb3856a1d370e1d8e16;hb=6a11232620e0006f6a2b1e8d2b56e56d84229d5c;hp=61e7bd55f33ba980648d17bc91f9e4d9a35e9852;hpb=837a54744277a5252a1a69b0690305e9a669124d;p=dcpomatic.git diff --git a/src/wx/file_picker_ctrl.h b/src/wx/file_picker_ctrl.h index 61e7bd55f..d0c4d56c8 100644 --- a/src/wx/file_picker_ctrl.h +++ b/src/wx/file_picker_ctrl.h @@ -23,10 +23,11 @@ class FilePickerCtrl : public wxPanel { public: - FilePickerCtrl (wxWindow* parent, wxString prompt, wxString wildcard); + FilePickerCtrl (wxWindow* parent, wxString prompt, wxString wildcard, bool open); wxString GetPath () const; void SetPath (wxString); + void SetWildcard (wxString); private: void browse_clicked (); @@ -36,4 +37,5 @@ private: wxSizer* _sizer; wxString _prompt; wxString _wildcard; + bool _open; };