X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4ce7b1e43fdf835a77a78765fe73de707b89e85f..f164c52bc761d08cbfe5b733198e9d21afc3c221:/src/xrc/xh_fontpicker.cpp?ds=inline diff --git a/src/xrc/xh_fontpicker.cpp b/src/xrc/xh_fontpicker.cpp index ce84a43494..6222b3dfc3 100644 --- a/src/xrc/xh_fontpicker.cpp +++ b/src/xrc/xh_fontpicker.cpp @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: src/xrc/xh_clrpicker.cpp -// Purpose: XML resource handler for wxColourPickerCtrl +// Name: src/xrc/xh_fontpicker.cpp +// Purpose: XML resource handler for wxFontPickerCtrl // Author: Francesco Montorsi // Created: 2006-04-17 // RCS-ID: $Id$ @@ -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(),