projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Accessor for ClosedCaptionsDialog.
[dcpomatic.git]
/
src
/
wx
/
file_dialog_wrapper.h
diff --git
a/src/wx/file_dialog_wrapper.h
b/src/wx/file_dialog_wrapper.h
index 251d1b71d15711462cd0be9cee6a0f038bbb6c9a..dd63ff2dae447bfdaccd6a9842e0f02092fd8d20 100644
(file)
--- a/
src/wx/file_dialog_wrapper.h
+++ b/
src/wx/file_dialog_wrapper.h
@@
-32,7
+32,7
@@
public:
void set (T) {}
-
T
get ()
+
boost::optional<T>
get ()
{
return T (dcp::file_to_string (wx_to_std (_dialog->GetPath ())));
}
@@
-49,7
+49,7
@@
public:
delete this;
}
-pr
ivate
:
+pr
otected
:
wxWindow* _parent;
wxFileDialog* _dialog;
};