summaryrefslogtreecommitdiff
path: root/src/wx/dir_picker_ctrl.cc
diff options
context:
space:
mode:
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
}
}