rem: chosenFont = WMGetFontPanelFontName(panel->fontPanel);
add: chosenFont = WMGetFontName(WMGetFontPanelFont(panel->fontPanel));
context: addButtonAction(WMWidget *w, void *data){	_Panel *panel = (_Panel*)data;	char *chosenFont;	int pos;	WMPropList *array;	WMPropList *string;	char *encoding = getFontEncoding(panel);	int section = WMGetPopUpButtonSelectedItem(panel->fontSel);	if(!encoding)	array = getCurrentFontProp(panel, section);	else	array = getDefaultFontProp(panel, encoding, section);	WMHideFontPanel(panel->fontPanel);	chosenFont = WMGetFontPanelFontName(panel->fontPanel);	string = WMCreatePLString(chosenFont);	pos = WMGetListSelectedItemRow(panel->fsetLs);	WMInsertListItem(panel->fsetLs, pos+1, chosenFont);	WMInsertInPLArray(array, pos+1, string);	WMSelectListItem(panel->fsetLs, pos+1);	paintPreviewBox(panel, EVERYTHING);	changePage(panel->fontSel, panel);}