translate wx{File,Dir}PickerWidgetLabel

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-12-08 20:49:21 +00:00
parent 8aab0891d2
commit 174e8f45df
2 changed files with 5 additions and 4 deletions

View File

@@ -243,7 +243,7 @@ protected:
const wxString& wildcard)
{
return new wxFilePickerWidget(parent, wxID_ANY,
wxFilePickerWidgetLabel,
wxGetTranslation(wxFilePickerWidgetLabel),
path, message, wildcard,
wxDefaultPosition, wxDefaultSize,
GetPickerStyle(GetWindowStyle()));
@@ -337,7 +337,8 @@ protected:
const wxString& message,
const wxString& WXUNUSED(wildcard))
{
return new wxDirPickerWidget(parent, wxID_ANY, wxDirPickerWidgetLabel,
return new wxDirPickerWidget(parent, wxID_ANY,
wxGetTranslation(wxDirPickerWidgetLabel),
path, message,
wxDefaultPosition, wxDefaultSize,
GetPickerStyle(GetWindowStyle()));