[COMDLG32] Sync with Wine Staging 2.9. CORE-13362
[reactos.git] / reactos / dll / win32 / comdlg32 / colordlg.c
index 4ad3ca9..7a01e47 100644 (file)
@@ -853,7 +853,7 @@ static LRESULT CC_WMInitDialog( HWND hDlg, WPARAM wParam, LPARAM lParam )
    SetPropW( hDlg, szColourDialogProp, lpp );
 
    if (!(lpp->lpcc->Flags & CC_SHOWHELP))
-      ShowWindow( GetDlgItem(hDlg,0x40e), SW_HIDE);
+      ShowWindow(GetDlgItem(hDlg, pshHelp), SW_HIDE);
    lpp->msetrgb = RegisterWindowMessageA(SETRGBSTRINGA);
 
 #if 0
@@ -1029,7 +1029,7 @@ static LRESULT CC_WMCommand(CCPRIV *lpp, WPARAM wParam, LPARAM lParam, WORD noti
               CC_PaintTriangle(lpp);
               break;
 
-         case 0x40e:           /* Help! */ /* The Beatles, 1965  ;-) */
+         case pshHelp:           /* Help! */ /* The Beatles, 1965  ;-) */
               i = RegisterWindowMessageA(HELPMSGSTRINGA);
                    if (lpp->lpcc->hwndOwner)
                       SendMessageA(lpp->lpcc->hwndOwner, i, 0, (LPARAM)lpp->lpcc);