wineconsole[2/3]: check one of the radio buttons in the "Save
settings" dialog
Mikołaj Zalewski
mikolaj at zalewski.pl
Sun Oct 22 12:33:18 CDT 2006
A radio buttons group in which no button wass checked was strange. The
IDC_SAV_SESSION is checked as that was the default before.
-------------- next part --------------
diff --git a/programs/wineconsole/dialog.c b/programs/wineconsole/dialog.c
index 50fd3a8..aa8f096 100644
--- a/programs/wineconsole/dialog.c
+++ b/programs/wineconsole/dialog.c
@@ -704,6 +704,7 @@ static INT_PTR WINAPI WCUSER_SaveDlgProc
switch (msg)
{
case WM_INITDIALOG:
+ SendDlgItemMessage(hDlg, IDC_SAV_SESSION, BM_SETCHECK, BST_CHECKED, 0);
break;
case WM_COMMAND:
switch (LOWORD(wParam))
--
1.4.2.3
More information about the wine-patches
mailing list