https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1c163bf163d5f315e4869cff3286df946fb0a637

commit 1c163bf163d5f315e4869cff3286df946fb0a637
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Mon Dec 27 08:26:33 2021 +0900
Commit:     Katayama Hirofumi MZ <[email protected]>
CommitDate: Mon Dec 27 08:26:33 2021 +0900

    [MSPAINT] Revert PostMessage to SendMessage
    
    
https://github.com/reactos/reactos/commit/614354ccb55d5aed2aa8244efdc54efb0d2b0205
    CORE-17931
---
 base/applications/mspaint/main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/applications/mspaint/main.cpp 
b/base/applications/mspaint/main.cpp
index 83e9f9d37e8..fe77e8ae097 100644
--- a/base/applications/mspaint/main.cpp
+++ b/base/applications/mspaint/main.cpp
@@ -322,7 +322,7 @@ _tWinMain (HINSTANCE hThisInstance, HINSTANCE 
hPrevInstance, LPTSTR lpszArgument
     sizeboxCenterBottom.Create(scrlClientWindow.m_hWnd, sizeboxPos, NULL, 
WS_CHILD | WS_VISIBLE);
     sizeboxRightBottom.Create(scrlClientWindow.m_hWnd, sizeboxPos, NULL, 
WS_CHILD | WS_VISIBLE);
     /* placing the size boxes around the image */
-    imageArea.PostMessage(WM_SIZE, 0, 0);
+    imageArea.SendMessage(WM_SIZE, 0, 0);
 
     /* by moving the window, the things in WM_SIZE are done */
     mainWindow.SetWindowPlacement(&(registrySettings.WindowPlacement));

Reply via email to