summaryrefslogtreecommitdiff
path: root/src/wx/file_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-11-11 22:54:51 +0100
committerCarl Hetherington <cth@carlh.net>2023-11-11 22:54:51 +0100
commit8282169ec34b0186f5052a2d931360779c932492 (patch)
tree96d70cd1ee52d51bfbb51d2adb291d82c86fc531 /src/wx/file_dialog.cc
parente631609fae5ea0ac452c98a4a8623996df37e4be (diff)
Add FileDialog::path().
Diffstat (limited to 'src/wx/file_dialog.cc')
-rw-r--r--src/wx/file_dialog.cc7
1 files changed, 7 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
{