+
+ var1 = wxVariant(new wxFont(wxSystemSettings::GetFont(wxSYS_OEM_FIXED_FONT)));
+ textCtrl << _T("var1 = (wxfont)\"");
+ wxFont* font = wxGetVariantCast(var1,wxFont);
+ if (font)
+ {
+ textCtrl << font->GetNativeFontInfoDesc() << _T("\"\n");
+ }
+ else
+ {
+ textCtrl << _T("(null)\"\n");
+ }