https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b369ec3fa1d2176b700db…
commit b369ec3fa1d2176b700db965bd5661c9f1d987c1
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Thu Mar 16 17:49:05 2023 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Thu Mar 16 17:49:05 2023 +0900
[MSPAINT] Delete needless CMiniatureWindow::OnSetCursor
CORE-18867
---
base/applications/mspaint/miniature.cpp | 7 -------
base/applications/mspaint/miniature.h | 1 -
2 files changed, 8 deletions(-)
diff --git a/base/applications/mspaint/miniature.cpp
b/base/applications/mspaint/miniature.cpp
index 160ed0ae98e..6df83aee49a 100644
--- a/base/applications/mspaint/miniature.cpp
+++ b/base/applications/mspaint/miniature.cpp
@@ -31,10 +31,3 @@ LRESULT CMiniatureWindow::OnPaint(UINT nMsg, WPARAM wParam, LPARAM
lParam, BOOL&
miniature.ReleaseDC(hdc);
return 0;
}
-
-LRESULT CMiniatureWindow::OnSetCursor(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL&
bHandled)
-{
- SetCursor(LoadCursor(NULL, IDC_ARROW));
- bHandled = FALSE;
- return 0;
-}
diff --git a/base/applications/mspaint/miniature.h
b/base/applications/mspaint/miniature.h
index ce79455a232..57fe9559481 100644
--- a/base/applications/mspaint/miniature.h
+++ b/base/applications/mspaint/miniature.h
@@ -17,7 +17,6 @@ public:
BEGIN_MSG_MAP(CMiniatureWindow)
MESSAGE_HANDLER(WM_CLOSE, OnClose)
MESSAGE_HANDLER(WM_PAINT, OnPaint)
- MESSAGE_HANDLER(WM_SETCURSOR, OnSetCursor)
END_MSG_MAP()
LRESULT OnClose(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);