From ff8b0af8b31c9367679323c08c28a806e7bc112f Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Fri, 6 Mar 2020 21:50:24 +0800 Subject: [PATCH] cleanup --- src/kernel/message.c | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/src/kernel/message.c b/src/kernel/message.c index 50d3bfce..a470e62a 100644 --- a/src/kernel/message.c +++ b/src/kernel/message.c @@ -528,19 +528,6 @@ HWND kernel_CheckInvalidRegion (PMAINWIN pWin) return HWND_NULL; } -#if 0 -static PMAINWIN msgGetHostingRoot (PMAINWIN pHosted) -{ - PMAINWIN pHosting; - - pHosting = pHosted->pHosting; - if (pHosting) - return msgGetHostingRoot (pHosting); - - return pHosted; -} -#endif - static HWND msgCheckHostedTree (PMAINWIN pHosting) { HWND hNeedPaint; @@ -871,23 +858,6 @@ checkagain: HWND hNeedPaint; PMAINWIN pWin; -#if 0 // def _MGHAVE_VIRTUAL_WINDOW - /* REMIND this */ - if (hWnd == HWND_DESKTOP) { - pMsg->hwnd = hWnd; - pMsg->message = MSG_PAINT; - pMsg->wParam = 0; - pMsg->lParam = 0; - SET_PADD (NULL); - - if (uRemoveMsg == PM_REMOVE) { - pMsgQueue->dwState &= ~QS_PAINT; - } - UNLOCK_MSGQ (pMsgQueue); - return TRUE; - } -#endif /* deprecated code */ - pMsg->message = MSG_PAINT; pMsg->wParam = 0; pMsg->lParam = 0;