From: Václav Slavík Date: Tue, 9 Sep 2008 19:34:53 +0000 (+0000) Subject: wxDir/FilePickerCtrl's message should be translatable X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bfb7820116755308b63bf944acca3827577ed132 wxDir/FilePickerCtrl's message should be translatable git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/xrc/xh_dirpicker.cpp b/src/xrc/xh_dirpicker.cpp index 91ad6b0b66..aaf59f963d 100644 --- a/src/xrc/xh_dirpicker.cpp +++ b/src/xrc/xh_dirpicker.cpp @@ -38,7 +38,7 @@ wxObject *wxDirPickerCtrlXmlHandler::DoCreateResource() picker->Create(m_parentAsWindow, GetID(), GetParamValue(wxT("value")), - GetParamValue(wxT("message")), + GetText(wxT("message")), GetPosition(), GetSize(), GetStyle(_T("style"), wxDIRP_DEFAULT_STYLE), wxDefaultValidator, diff --git a/src/xrc/xh_filepicker.cpp b/src/xrc/xh_filepicker.cpp index 034d9cbbc4..40e8280551 100644 --- a/src/xrc/xh_filepicker.cpp +++ b/src/xrc/xh_filepicker.cpp @@ -41,7 +41,7 @@ wxObject *wxFilePickerCtrlXmlHandler::DoCreateResource() picker->Create(m_parentAsWindow, GetID(), GetParamValue(wxT("value")), - GetParamValue(wxT("message")), + GetText(wxT("message")), GetParamValue(wxT("wildcard")), GetPosition(), GetSize(), GetStyle(_T("style"), wxFLP_DEFAULT_STYLE),