X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fcontent_version_dialog.cc;h=876f4383855960c4fae4009f670eb83ef4c090c5;hp=37c9cd416ae9353bc3ee4c4d8df8ced85339c7c5;hb=54141c7a9504e289d41af997067ca6b78a1d4b0a;hpb=d97029163865e212dc3d7b3c57c16459933a11f6 diff --git a/src/wx/content_version_dialog.cc b/src/wx/content_version_dialog.cc index 37c9cd416..876f43838 100644 --- a/src/wx/content_version_dialog.cc +++ b/src/wx/content_version_dialog.cc @@ -24,6 +24,7 @@ using std::string; +using boost::optional; ContentVersionDialog::ContentVersionDialog (wxWindow* parent) @@ -46,7 +47,7 @@ ContentVersionDialog::set (string r) } -string +optional ContentVersionDialog::get () const { return wx_to_std(_version->GetValue());