Some TODO resolution.

This commit is contained in:
Pietro Gagliardi 2014-12-08 15:11:42 -05:00
parent 9b3555f257
commit 3bc6fed2c1
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ HANDLER(apiHandlers)
{ {
switch (uMsg) { switch (uMsg) {
case WM_SETFONT: 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; t->font = (HFONT) wParam;
SendMessageW(t->header, WM_SETFONT, wParam, lParam); SendMessageW(t->header, WM_SETFONT, wParam, lParam);
// TODO reposition header? // TODO reposition header?