git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21917
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
return FALSE;
}
- fontElements[n] = tokenizer.GetNextToken();
+ wxString field = tokenizer.GetNextToken();
+ if ( !field.empty() && field != _T('*') )
+ {
+ // we're really initialized now
+ m_isDefault = FALSE;
+ }
+
+ fontElements[n] = field;
}
// this should be all
if ( tokenizer.HasMoreTokens() )
return FALSE;
- // we're initialized now
- m_isDefault = FALSE;
-
return TRUE;
}