mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
9d26ae1241
commit
e646f0a21c
|
@ -237,7 +237,7 @@ protected:
|
||||||
const wxString& wildcard)
|
const wxString& wildcard)
|
||||||
{
|
{
|
||||||
return new wxFilePickerWidget(parent, wxID_ANY,
|
return new wxFilePickerWidget(parent, wxID_ANY,
|
||||||
wxFilePickerWidgetLabel,
|
wxGetTranslation(wxFilePickerWidgetLabel),
|
||||||
path, message, wildcard,
|
path, message, wildcard,
|
||||||
wxDefaultPosition, wxDefaultSize,
|
wxDefaultPosition, wxDefaultSize,
|
||||||
GetPickerStyle(GetWindowStyle()));
|
GetPickerStyle(GetWindowStyle()));
|
||||||
|
@ -326,7 +326,7 @@ protected:
|
||||||
const wxString& message,
|
const wxString& message,
|
||||||
const wxString& WXUNUSED(wildcard))
|
const wxString& WXUNUSED(wildcard))
|
||||||
{
|
{
|
||||||
return new wxDirPickerWidget(parent, wxID_ANY, wxDirPickerWidgetLabel,
|
return new wxDirPickerWidget(parent, wxID_ANY, wxGetTranslation(wxDirPickerWidgetLabel),
|
||||||
path, message,
|
path, message,
|
||||||
wxDefaultPosition, wxDefaultSize,
|
wxDefaultPosition, wxDefaultSize,
|
||||||
GetPickerStyle(GetWindowStyle()));
|
GetPickerStyle(GetWindowStyle()));
|
||||||
|
|
Loading…
Reference in New Issue