https://git.reactos.org/?p=reactos.git;a=commitdiff;h=868c7c4d53fdbea8fdbcd6ecf01e9cff71550a5a

commit 868c7c4d53fdbea8fdbcd6ecf01e9cff71550a5a
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Fri Mar 17 19:01:42 2023 +0900
Commit:     Katayama Hirofumi MZ <[email protected]>
CommitDate: Fri Mar 17 19:01:42 2023 +0900

    [MSPAINT] Delete useless "STATIC" control
    
    CORE-18867
---
 base/applications/mspaint/main.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/base/applications/mspaint/main.cpp 
b/base/applications/mspaint/main.cpp
index 75cc5862110..aabe1992502 100644
--- a/base/applications/mspaint/main.cpp
+++ b/base/applications/mspaint/main.cpp
@@ -210,9 +210,6 @@ _tWinMain (HINSTANCE hThisInstance, HINSTANCE 
hPrevInstance, LPTSTR lpszArgument
     hCurPen      = LoadIcon(hThisInstance, MAKEINTRESOURCE(IDC_PEN));
     hCurAirbrush = LoadIcon(hThisInstance, MAKEINTRESOURCE(IDC_AIRBRUSH));
 
-    CreateWindowEx(0, _T("STATIC"), NULL, WS_CHILD | WS_VISIBLE | 
SS_ETCHEDHORZ, 0, 0, 5000, 2, hwnd, NULL,
-                   hThisInstance, NULL);
-
     RECT toolBoxContainerPos = {2, 2, 2 + 52, 2 + 350};
     toolBoxContainer.Create(hwnd, toolBoxContainerPos, NULL, WS_CHILD | 
WS_VISIBLE);
     /* creating the tool settings child window */

Reply via email to