]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_filepicker.cpp
Don't consider extra ".." an error in wxFileName::Normalize().
[wxWidgets.git] / src / xrc / xh_filepicker.cpp
index 034d9cbbc45ad4d290f83cbecfda3627872cb547..df544fa0f58476fa657d64617a351999ddf95172 100644 (file)
@@ -41,10 +41,10 @@ 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),
+                  GetStyle(wxT("style"), wxFLP_DEFAULT_STYLE),
                   wxDefaultValidator,
                   GetName());