From 6dd8235d9022e8996bf369c7a9b1abddfd2cbba7 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Tue, 25 Feb 2020 16:20:31 +0800 Subject: [PATCH] tune --- src/control/ctrlmisc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/control/ctrlmisc.c b/src/control/ctrlmisc.c index 8b3ee8c7..7a233fd6 100644 --- a/src/control/ctrlmisc.c +++ b/src/control/ctrlmisc.c @@ -251,11 +251,11 @@ void GUIAPI NotifyParentEx (HWND hwnd, LINT id, int code, DWORD add_data) return; } +#if 1 /* Since 5.0.0, use NotifyWindow */ if (NotifyWindow (parent, id, code, add_data)) { _DBG_PRINTF ("failed to notify parent window (%p)\n", parent); } - -#if 0 /* deprecated code */ +#else /* deprecated code */ NOTIFPROC notif_proc; notif_proc = GetNotificationCallback (hwnd);