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:
parent
8aab0891d2
commit
174e8f45df
@ -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()));
|
||||
|
@ -41,8 +41,8 @@ const char wxFilePickerCtrlNameStr[] = "filepicker";
|
||||
const char wxFilePickerWidgetNameStr[] = "filepickerwidget";
|
||||
const char wxDirPickerCtrlNameStr[] = "dirpicker";
|
||||
const char wxDirPickerWidgetNameStr[] = "dirpickerwidget";
|
||||
const char wxFilePickerWidgetLabel[] = "Browse";
|
||||
const char wxDirPickerWidgetLabel[] = "Browse";
|
||||
const char wxFilePickerWidgetLabel[] = wxTRANSLATE("Browse");
|
||||
const char wxDirPickerWidgetLabel[] = wxTRANSLATE("Browse");
|
||||
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_FILEPICKER_CHANGED)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_DIRPICKER_CHANGED)
|
||||
|
Loading…
Reference in New Issue
Block a user