X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42c09d20bbcfe511b26af394fa461064dbda1018..68ca12fef650ce4622e05ba4eb21a7aa23849107:/src/xrc/xh_fontpicker.cpp diff --git a/src/xrc/xh_fontpicker.cpp b/src/xrc/xh_fontpicker.cpp index a1bf36d7aa..6222b3dfc3 100644 --- a/src/xrc/xh_fontpicker.cpp +++ b/src/xrc/xh_fontpicker.cpp @@ -36,8 +36,8 @@ wxObject *wxFontPickerCtrlXmlHandler::DoCreateResource() XRC_MAKE_INSTANCE(picker, wxFontPickerCtrl) wxFont f = *wxNORMAL_FONT; - if (HasParam(wxT("default-font"))) - f = GetFont(wxT("default-font")); + if (HasParam(wxT("value"))) + f = GetFont(wxT("value")); picker->Create(m_parentAsWindow, GetID(),