]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_dirpicker.cpp
fixing modal dialog quit after nested message box problem
[wxWidgets.git] / src / xrc / xh_dirpicker.cpp
index 91ad6b0b661c45e40d32de79146baab643545d9b..aaf59f963d37a002e1d73bba4a2d6967360137e8 100644 (file)
@@ -38,7 +38,7 @@ 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),
                   wxDefaultValidator,