3rdparty wxwidget: Backport a fix from wx2.9. It allows to translate the "broswe" string in some places

Note: on linux the string does not appear (current directory instead).


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4370 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut@gmail.com 2011-02-26 12:30:48 +00:00
parent 9d26ae1241
commit e646f0a21c
1 changed files with 2 additions and 2 deletions

View File

@ -237,7 +237,7 @@ protected:
const wxString& wildcard)
{
return new wxFilePickerWidget(parent, wxID_ANY,
wxFilePickerWidgetLabel,
wxGetTranslation(wxFilePickerWidgetLabel),
path, message, wildcard,
wxDefaultPosition, wxDefaultSize,
GetPickerStyle(GetWindowStyle()));
@ -326,7 +326,7 @@ 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()));