summaryrefslogtreecommitdiff
path: root/src/wx/dir_picker_ctrl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-02-02 19:09:51 +0000
committerCarl Hetherington <cth@carlh.net>2013-02-02 19:09:51 +0000
commit55e5d61e68d9ee95594562f911c9db0397246fbe (patch)
tree5501170f21f5c32b0ef0552d0ccf2ff812186861 /src/wx/dir_picker_ctrl.cc
parentde4d3d0fdda0f20ccab06877444fc1e5ff362f93 (diff)
Insist on boost 1.45 and hence filesystem v3 now that libdcp requires it.
Diffstat (limited to 'src/wx/dir_picker_ctrl.cc')
-rw-r--r--src/wx/dir_picker_ctrl.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wx/dir_picker_ctrl.cc b/src/wx/dir_picker_ctrl.cc
index cb811fc10..b6558a881 100644
--- a/src/wx/dir_picker_ctrl.cc
+++ b/src/wx/dir_picker_ctrl.cc
@@ -50,11 +50,7 @@ DirPickerCtrl::SetPath (wxString p)
if (_path == wxStandardPaths::Get().GetDocumentsDir()) {
_folder->SetLabel (_("My Documents"));
} else {
-#if BOOST_FILESYSTEM_VERSION == 3
_folder->SetLabel (std_to_wx (filesystem::path (wx_to_std (_path)).leaf().string()));
-#else
- _folder->SetLabel (std_to_wx (filesystem::path (wx_to_std (_path)).leaf()));
-#endif
}
}