diff --git a/src/win/win.h b/src/win/win.h index 9bf94c009..e1fa754b6 100644 --- a/src/win/win.h +++ b/src/win/win.h @@ -8,7 +8,7 @@ * * Platform support defintions for Win32. * - * Version: @(#)win.h 1.0.22 2018/10/23 + * Version: @(#)win.h 1.0.23 2018/10/23 * * Authors: Sarah Walker, * Miran Grca, @@ -53,7 +53,9 @@ #define WM_HARDRESET 0x8892 #define WM_SHUTDOWN 0x8893 #define WM_CTRLALTDEL 0x8894 +/* Pause/resume status: WPARAM = 1 for paused, 0 for resumed. */ #define WM_SENDSTATUS 0x8895 +/* Settings status: WPARAM = 1 for open, 0 for closed. */ #define WM_SENDSSTATUS 0x8896 #ifdef USE_VNC diff --git a/src/win/win_settings.c b/src/win/win_settings.c index 0f84cb3f0..2e14b84b4 100644 --- a/src/win/win_settings.c +++ b/src/win/win_settings.c @@ -8,7 +8,7 @@ * * Windows 86Box Settings dialog handler. * - * Version: @(#)win_settings.c 1.0.66 2018/10/23 + * Version: @(#)win_settings.c 1.0.67 2018/10/23 * * Authors: Miran Grca, * David Hrdlička, @@ -4485,6 +4485,8 @@ static BOOL CALLBACK #endif win_settings_confirm(HWND hdlg, int button) { + int i; + SendMessage(hwndChildDialog, WM_SAVESETTINGS, 0, 0); i = settings_msgbox_reset(); if (i > 0) {