From 3bc6fed2c13c0f0346afa65022169ff687ab2a3c Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 8 Dec 2014 15:11:42 -0500 Subject: [PATCH] Some TODO resolution. --- wintable/new/api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wintable/new/api.h b/wintable/new/api.h index d29d3b2..f066a19 100644 --- a/wintable/new/api.h +++ b/wintable/new/api.h @@ -4,7 +4,7 @@ HANDLER(apiHandlers) { switch (uMsg) { case WM_SETFONT: - // TODO release old font? + // don't free the old font; see http://blogs.msdn.com/b/oldnewthing/archive/2008/09/12/8945692.aspx t->font = (HFONT) wParam; SendMessageW(t->header, WM_SETFONT, wParam, lParam); // TODO reposition header?