]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_filepicker.cpp
fix for PCH-less builds
[wxWidgets.git] / src / xrc / xh_filepicker.cpp
index 034d9cbbc45ad4d290f83cbecfda3627872cb547..40e8280551e8f915a842eeb4229b3b67252efac2 100644 (file)
@@ -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),