]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_dirpicker.cpp
letting the peer declare whether it wants to draw its borders itself (eg the search...
[wxWidgets.git] / src / xrc / xh_dirpicker.cpp
index ab589e82b3c8437f0daef0b1721dcf14745d6fcf..aaf59f963d37a002e1d73bba4a2d6967360137e8 100644 (file)
@@ -37,8 +37,8 @@ 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),
                   wxDefaultValidator,