]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_dirpicker.cpp
Add default constructor to wxGraphicsGradientStop.
[wxWidgets.git] / src / xrc / xh_dirpicker.cpp
index ab589e82b3c8437f0daef0b1721dcf14745d6fcf..e70c44e14ab8861dd62c60c2d45f163d01a864bb 100644 (file)
@@ -37,10 +37,10 @@ wxObject *wxDirPickerCtrlXmlHandler::DoCreateResource()
 
    picker->Create(m_parentAsWindow,
                   GetID(),
-                  GetParamValue(wxT("default-path")),
-                  GetParamValue(wxT("message")),
+                  GetParamValue(wxT("value")),
+                  GetText(wxT("message")),
                   GetPosition(), GetSize(),
-                  GetStyle(_T("style"), wxDIRP_DEFAULT_STYLE),
+                  GetStyle(wxT("style"), wxDIRP_DEFAULT_STYLE),
                   wxDefaultValidator,
                   GetName());