diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/file_dialog.cc | 7 | ||||
| -rw-r--r-- | src/wx/file_dialog.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/wx/file_dialog.cc b/src/wx/file_dialog.cc index b65077784..bed8b4e0d 100644 --- a/src/wx/file_dialog.cc +++ b/src/wx/file_dialog.cc @@ -56,6 +56,13 @@ FileDialog::FileDialog( } +boost::filesystem::path +FileDialog::path() const +{ + return wx_to_std(GetPath()); +} + + vector<boost::filesystem::path> FileDialog::paths() const { diff --git a/src/wx/file_dialog.h b/src/wx/file_dialog.h index cc6d720c1..022c3dbed 100644 --- a/src/wx/file_dialog.h +++ b/src/wx/file_dialog.h @@ -43,6 +43,7 @@ public: /** @return true if OK was clicked */ bool show(); + boost::filesystem::path path() const; std::vector<boost::filesystem::path> paths() const; private: |
