[USER32] Use the correct __REACTOS__ define.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 28 Jul 2019 22:32:14 +0000 (00:32 +0200)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 28 Jul 2019 22:33:20 +0000 (00:33 +0200)
win32ss/user/user32/controls/button.c

index a9afe49..7a4deca 100644 (file)
@@ -389,7 +389,7 @@ LRESULT WINAPI ButtonWndProc_common(HWND hWnd, UINT uMsg,
            break;
        /* fall through */
     case WM_LBUTTONUP:
            break;
        /* fall through */
     case WM_LBUTTONUP:
-#ifdef _REACTOS_
+#ifdef __REACTOS__
         BOOL TellParent = FALSE; //// ReactOS see note below.
 #endif
         state = get_button_state( hWnd );
         BOOL TellParent = FALSE; //// ReactOS see note below.
 #endif
         state = get_button_state( hWnd );
@@ -419,14 +419,14 @@ LRESULT WINAPI ButtonWndProc_common(HWND hWnd, UINT uMsg,
                                 (state & BST_INDETERMINATE) ? 0 : ((state & 3) + 1), 0 );
                 break;
             }
                                 (state & BST_INDETERMINATE) ? 0 : ((state & 3) + 1), 0 );
                 break;
             }
-#ifdef _REACTOS_
+#ifdef __REACTOS__
             TellParent = TRUE; // <---- Fix CORE-10194, Notify parent after capture is released.
 #else
             ReleaseCapture();
             BUTTON_NOTIFY_PARENT(hWnd, BN_CLICKED);
 #endif
         }
             TellParent = TRUE; // <---- Fix CORE-10194, Notify parent after capture is released.
 #else
             ReleaseCapture();
             BUTTON_NOTIFY_PARENT(hWnd, BN_CLICKED);
 #endif
         }
-#ifdef _REACTOS_
+#ifdef __REACTOS__
         ReleaseCapture();
         if (TellParent) BUTTON_NOTIFY_PARENT(hWnd, BN_CLICKED);
 #else
         ReleaseCapture();
         if (TellParent) BUTTON_NOTIFY_PARENT(hWnd, BN_CLICKED);
 #else