summaryrefslogtreecommitdiff
path: root/alf/alfpanel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alf/alfpanel.cpp')
-rw-r--r--alf/alfpanel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alf/alfpanel.cpp b/alf/alfpanel.cpp
index ce640a2..076bd9f 100644
--- a/alf/alfpanel.cpp
+++ b/alf/alfpanel.cpp
@@ -75,7 +75,7 @@ ALF__PanelWindowProc(HWND window, UINT msg, WPARAM wparam, LPARAM lparam)
if (LOWORD(lparam) != 0)
InvalidateRect(window, NULL, TRUE);
- return 0;
+ // fallthrough to layout, will propagate font to children
}
if (msg == WM_GETFONT) {
@@ -167,7 +167,7 @@ ALF_AddPanel(HWND parent, WORD id, UINT x, UINT y)
p.y = y;
p.width = 0;
p.height = 0;
- p.flags = ALF_QUERYSIZE | ALF_SENDAPPLYFONTS | ALF_MESSAGEFONT;
+ p.flags = ALF_QUERYSIZE | ALF_INHERITFONT;
ALF_AddWidgetEx(parent, &p);