Felix Nawothnig : taskmgr: Use default font for proc listview.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Apr 6 06:07:49 CDT 2007


Module: wine
Branch: master
Commit: 425d87464e9e733f161b77b97547d514a13f1545
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=425d87464e9e733f161b77b97547d514a13f1545

Author: Felix Nawothnig <flexo at holycrap.org>
Date:   Fri Apr  6 02:38:14 2007 +0200

taskmgr: Use default font for proc listview.

---

 programs/taskmgr/procpage.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/programs/taskmgr/procpage.c b/programs/taskmgr/procpage.c
index 04921c0..3450f83 100644
--- a/programs/taskmgr/procpage.c
+++ b/programs/taskmgr/procpage.c
@@ -461,9 +461,8 @@ ProcessPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
         hProcessPageShowAllProcessesButton = GetDlgItem(hDlg, IDC_SHOWALLPROCESSES);
 
         /*
-         * Set the font, title, and extended window styles for the list control
+         * Set the title and extended window styles for the list control
          */
-        SendMessage(hProcessPageListCtrl, WM_SETFONT, SendMessage(hProcessPage, WM_GETFONT, 0, 0), TRUE);
         SetWindowText(hProcessPageListCtrl, _T("Processes"));
         SendMessage(hProcessPageListCtrl, LVM_SETEXTENDEDLISTVIEWSTYLE, 0, ListView_GetExtendedListViewStyle(hProcessPageListCtrl) | LVS_EX_FULLROWSELECT | LVS_EX_HEADERDRAGDROP);
 




More information about the wine-cvs mailing list