if(MPanel.hFontMisc!=NULL) DeleteObject(MPanel.hFontMisc); if(MPanel.hFontMessage!=NULL) DeleteObject(MPanel.hFontMessage);
void w32g_restart(void){	w32g_restart_gui_flag = 1;	terminate_main_thread();	if(w32g_lock_sem){	    CloseHandle(w32g_lock_sem);		w32g_lock_sem = NULL;	}	if(w32g_empty_sem){	    CloseHandle(w32g_empty_sem);		w32g_empty_sem = NULL;	}	if(MPanel.hFontTitle!=NULL)		DeleteObject(MPanel.hFontTitle);	if(MPanel.hFontFile!=NULL)		DeleteObject(MPanel.hFontFile);	if(MPanel.hFontTime!=NULL)		DeleteObject(MPanel.hFontTime);	if(MPanel.hFontVoices!=NULL)		DeleteObject(MPanel.hFontVoices);	if(MPanel.hFontMVolume!=NULL)		DeleteObject(MPanel.hFontMVolume);	if(MPanel.hFontRate!=NULL)		DeleteObject(MPanel.hFontRate);	if(MPanel.hFontList!=NULL)		DeleteObject(MPanel.hFontList);	/* Reset variable */    hStartWnd = 0;    hMainWnd = 0;    hDebugWnd = 0;    hConsoleWnd = 0;    hTracerWnd = 0;    hDocWnd = 0;    hListWnd = 0;    hWrdWnd = 0;    hSoundSpecWnd = 0;    hDebugEditWnd = 0;    hDocEditWnd = 0;	/* Now ready to start */	w32g_open();	w32g_restart_gui_flag = 0;}