]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_dirpicker.cpp
Have to implement wxPGProperty::DeleteChildren() differently so that it will work...
[wxWidgets.git] / src / xrc / xh_dirpicker.cpp
index 91ad6b0b661c45e40d32de79146baab643545d9b..e70c44e14ab8861dd62c60c2d45f163d01a864bb 100644 (file)
@@ -38,9 +38,9 @@ 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),
+                  GetStyle(wxT("style"), wxDIRP_DEFAULT_STYLE),
                   wxDefaultValidator,
                   GetName());