summaryrefslogtreecommitdiff
path: root/src/wx/dir_picker_ctrl.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-04-09 03:15:19 +0200
committerCarl Hetherington <cth@carlh.net>2024-04-16 00:39:05 +0200
commit1e3e63c16db89f8f8623283d683139587aa139b6 (patch)
tree6c9249d25b8f2bef6b651e63a1efbad22aaf8b35 /src/wx/dir_picker_ctrl.h
parentec68c0a5aa1ae345e0054548b6f6f70d4cafa106 (diff)
Add leaf parameter to DirPickerCtrl.
Diffstat (limited to 'src/wx/dir_picker_ctrl.h')
-rw-r--r--src/wx/dir_picker_ctrl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/dir_picker_ctrl.h b/src/wx/dir_picker_ctrl.h
index f70168db4..31df9518c 100644
--- a/src/wx/dir_picker_ctrl.h
+++ b/src/wx/dir_picker_ctrl.h
@@ -33,7 +33,7 @@ LIBDCP_ENABLE_WARNINGS
class DirPickerCtrl : public wxPanel
{
public:
- explicit DirPickerCtrl (wxWindow *);
+ DirPickerCtrl(wxWindow *, bool leaf = false);
wxString GetPath () const;
void SetPath (wxString);
@@ -47,6 +47,7 @@ private:
wxButton* _browse;
wxString _path;
wxSizer* _sizer;
+ bool _leaf = false;
};
#endif