From f4aa7aca1f0945afb567bb8a8ef7e62fa4e28acb Mon Sep 17 00:00:00 2001 From: marha Date: Tue, 8 Mar 2011 11:51:21 +0000 Subject: Solved problem of wrong ID used for checkbox --- xorg-server/hw/xwin/xlaunch/main.cc | 2 +- xorg-server/hw/xwin/xlaunch/resources/dialog.rc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'xorg-server') diff --git a/xorg-server/hw/xwin/xlaunch/main.cc b/xorg-server/hw/xwin/xlaunch/main.cc index 0ee6c00af..9a9908f55 100644 --- a/xorg-server/hw/xwin/xlaunch/main.cc +++ b/xorg-server/hw/xwin/xlaunch/main.cc @@ -221,7 +221,7 @@ class CMyWizard : public CWizard config.wgl = true; else config.wgl = false; - // check for wgl + // check for access control if (IsDlgButtonChecked(hwndDlg, IDC_DISABLEAC)) config.disableac = true; else diff --git a/xorg-server/hw/xwin/xlaunch/resources/dialog.rc b/xorg-server/hw/xwin/xlaunch/resources/dialog.rc index 85f9386ad..d7f1aa46f 100644 --- a/xorg-server/hw/xwin/xlaunch/resources/dialog.rc +++ b/xorg-server/hw/xwin/xlaunch/resources/dialog.rc @@ -113,10 +113,10 @@ BEGIN AUTOCHECKBOX STR_CLIPBOARDPRIMARY,IDC_CLIPBOARDPRIMARY,19,30,300,10 LTEXT STR_CLIPBOARDPRIMARY_DESC,IDC_CLIPBOARDPRIMARY_DESC,31,40,280,27 - AUTOCHECKBOX STR_WGL,IDC_DISABLEAC,7,52,300,10 + AUTOCHECKBOX STR_WGL,IDC_WGL,7,52,300,10 LTEXT STR_WGL_DESC,IDC_WGL_DESC,19,62,280,27 - AUTOCHECKBOX STR_DISABLEAC,IDC_WGL,7,82,300,10 + AUTOCHECKBOX STR_DISABLEAC,IDC_DISABLEAC,7,82,300,10 LTEXT STR_DISABLEAC_DESC,IDC_DISABLEAC_DESC,19,92,280,27 LTEXT STR_EXTRA_PARAMS_DESC,IDC_EXTRA_PARAMS_DESC,7,105,280,10 -- cgit v1.2.3