diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-10-20 11:42:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-10-20 11:42:14 +0100 |
| commit | 00b60f52add041a36fa62118baf4b5ac78993980 (patch) | |
| tree | a1427c61dc4ed0a17bb9f120985481f1772b9d50 /src/wx/file_dialog_wrapper.h | |
| parent | bd3be0efd59054666fd04d69715275f257994f5e (diff) | |
Give a better error if the user tries to load a non-KDM as a DKDM into the KDM creator.
Diffstat (limited to 'src/wx/file_dialog_wrapper.h')
| -rw-r--r-- | src/wx/file_dialog_wrapper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/file_dialog_wrapper.h b/src/wx/file_dialog_wrapper.h index 251d1b71d..dd63ff2da 100644 --- 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; } -private: +protected: wxWindow* _parent; wxFileDialog* _dialog; }; |
