From e646f0a21c5e538a00bd02ea32af4664dcfbf5b9 Mon Sep 17 00:00:00 2001 From: "gregory.hainaut@gmail.com" Date: Sat, 26 Feb 2011 12:30:48 +0000 Subject: [PATCH] 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 --- 3rdparty/wxWidgets/include/wx/filepicker.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/wxWidgets/include/wx/filepicker.h b/3rdparty/wxWidgets/include/wx/filepicker.h index aad2a4f652..aa8ace3430 100644 --- a/3rdparty/wxWidgets/include/wx/filepicker.h +++ b/3rdparty/wxWidgets/include/wx/filepicker.h @@ -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()));