]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_fontpicker.cpp
Implement wxRendererMac::DrawItemSelectionRect and move the generic wxTreeCtrl to...
[wxWidgets.git] / src / xrc / xh_fontpicker.cpp
index a1bf36d7aa9f9f096b88f1ecee81271f3c08606b..6222b3dfc34aa20c66c04ba2fad9c0a0bd090f6b 100644 (file)
@@ -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(),