summaryrefslogtreecommitdiff
path: root/src/wx/file_picker_ctrl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-03-12 19:39:30 +0100
committerCarl Hetherington <cth@carlh.net>2025-03-12 19:39:30 +0100
commit063e5c06999f1952c06ea4c44c0c2470db164005 (patch)
treeecf63a555f24aa6d693cb0aa6749c78eebfa2268 /src/wx/file_picker_ctrl.cc
parent62683769d4e3b081205d04dc06afecbc0828b4d4 (diff)
Make file and dir picker look more consistent with each other.
Diffstat (limited to 'src/wx/file_picker_ctrl.cc')
-rw-r--r--src/wx/file_picker_ctrl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/file_picker_ctrl.cc b/src/wx/file_picker_ctrl.cc
index 3511a4497..90f07da59 100644
--- a/src/wx/file_picker_ctrl.cc
+++ b/src/wx/file_picker_ctrl.cc
@@ -61,7 +61,7 @@ FilePickerCtrl::FilePickerCtrl(
wxSize size = dc.GetTextExtent(char_to_wx("This is the length of the file label it should be quite long"));
size.SetHeight (-1);
- _file = new Button (this, _("(None)"), wxDefaultPosition, size, wxBU_LEFT);
+ _file = new Button(this, _("Browse..."), wxDefaultPosition, size, wxBU_LEFT);
_sizer->Add (_file, 1, wxEXPAND, 0);
SetSizerAndFit (_sizer);
@@ -77,7 +77,7 @@ FilePickerCtrl::set_filename(boost::optional<string> filename)
if (filename) {
_file->SetLabel(std_to_wx(*filename));
} else {
- _file->SetLabel(_("None"));
+ _file->SetLabel(_("Browse..."));
}
}