/*
* woptions.c -- Options dialog box routines for WinBoard
- * $Id: woptions.c,v 2.1 2003/10/27 19:21:02 mann Exp $
*
* Copyright 2000,2009 Free Software Foundation, Inc.
*
+ * Enhancements Copyright 2005 Alessandro Scotti
+ *
* ------------------------------------------------------------------------
*
* GNU XBoard is free software: you can redistribute it and/or modify
extern char *defaultTextAttribs[];
extern HWND commentDialog;
extern HWND moveHistoryDialog;
+extern HWND engineOutputDialog;
extern char installDir[];
extern HWND hCommPort; /* currently open comm port */
extern DCB dcb;
SendDlgItemMessage(moveHistoryDialog, IDC_MoveHistory,
WM_SETFONT, (WPARAM)font[boardSize][MOVEHISTORY_FONT]->hf,
MAKELPARAM(TRUE, 0));
- InvalidateRect(editTagsDialog, NULL, TRUE);
+ SendMessage( moveHistoryDialog, WM_INITDIALOG, 0, 0 );
+// InvalidateRect(editTagsDialog, NULL, TRUE); // [HGM] this ws improperly cloned?
+ }
+
+ if( engineOutputDialog != NULL ) {
+ SendDlgItemMessage(engineOutputDialog, IDC_EngineMemo1,
+ WM_SETFONT, (WPARAM)font[boardSize][MOVEHISTORY_FONT]->hf,
+ MAKELPARAM(TRUE, 0));
+ SendDlgItemMessage(engineOutputDialog, IDC_EngineMemo2,
+ WM_SETFONT, (WPARAM)font[boardSize][MOVEHISTORY_FONT]->hf,
+ MAKELPARAM(TRUE, 0));
}
if (hwndConsole) {