From 9828dc1ce7ad2b8ea03edc70b3ebf773ca804cf5 Mon Sep 17 00:00:00 2001 From: luigi__ Date: Sat, 5 Sep 2009 22:30:14 +0000 Subject: [PATCH] Small cosmetic fix: add DeSmuME icon to toolwindows. --- desmume/src/windows/CWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/desmume/src/windows/CWindow.cpp b/desmume/src/windows/CWindow.cpp index 01bf6ee7d..7c5d48886 100644 --- a/desmume/src/windows/CWindow.cpp +++ b/desmume/src/windows/CWindow.cpp @@ -115,6 +115,7 @@ CToolWindow::CToolWindow(int ID, DLGPROC proc, char* title) return; SetWindowText(hWnd, title); + SendMessage(hWnd, WM_SETICON, ICON_BIG, (LPARAM)LoadIcon(hAppInst, "ICONDESMUME")); } CToolWindow::~CToolWindow()