]> git.saurik.com Git - wxWidgets.git/commitdiff
wxDir/FilePickerCtrl's message should be translatable
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 9 Sep 2008 19:34:53 +0000 (19:34 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 9 Sep 2008 19:34:53 +0000 (19:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/xrc/xh_dirpicker.cpp
src/xrc/xh_filepicker.cpp

index 91ad6b0b661c45e40d32de79146baab643545d9b..aaf59f963d37a002e1d73bba4a2d6967360137e8 100644 (file)
@@ -38,7 +38,7 @@ wxObject *wxDirPickerCtrlXmlHandler::DoCreateResource()
    picker->Create(m_parentAsWindow,
                   GetID(),
                   GetParamValue(wxT("value")),
    picker->Create(m_parentAsWindow,
                   GetID(),
                   GetParamValue(wxT("value")),
-                  GetParamValue(wxT("message")),
+                  GetText(wxT("message")),
                   GetPosition(), GetSize(),
                   GetStyle(_T("style"), wxDIRP_DEFAULT_STYLE),
                   wxDefaultValidator,
                   GetPosition(), GetSize(),
                   GetStyle(_T("style"), wxDIRP_DEFAULT_STYLE),
                   wxDefaultValidator,
index 034d9cbbc45ad4d290f83cbecfda3627872cb547..40e8280551e8f915a842eeb4229b3b67252efac2 100644 (file)
@@ -41,7 +41,7 @@ wxObject *wxFilePickerCtrlXmlHandler::DoCreateResource()
     picker->Create(m_parentAsWindow,
                   GetID(),
                   GetParamValue(wxT("value")),
     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),
                   GetParamValue(wxT("wildcard")),
                   GetPosition(), GetSize(),
                   GetStyle(_T("style"), wxFLP_DEFAULT_STYLE),