summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-08 15:11:42 -0500
committerPietro Gagliardi <[email protected]>2014-12-08 15:11:42 -0500
commit3bc6fed2c13c0f0346afa65022169ff687ab2a3c (patch)
tree8e7797fdb32edbe0a5afe038ac08acaa1d2b7e13
parent9b3555f25714252f7739a5d941563c95d718dc73 (diff)
Some TODO resolution.
-rw-r--r--wintable/new/api.h2
1 files changed, 1 insertions, 1 deletions
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?