From 6fb581e28e1ede9be7459533d9ca08679324652b Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Mon, 7 Jan 2019 18:30:52 +0100 Subject: fixup panel support --- alf/alflayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alf/alflayout.cpp') diff --git a/alf/alflayout.cpp b/alf/alflayout.cpp index caf9857..cb89965 100644 --- a/alf/alflayout.cpp +++ b/alf/alflayout.cpp @@ -28,7 +28,7 @@ ALF_ApplyFontForWidget(ALFWidgetPriv *widget, const ALFWindowFonts *fonts) // least the commctl32 V5 static control doesn't do it. InvalidateRect(widget->hwnd, NULL, TRUE); } - if ((widget->flags & ALF_ALLFONTS) == ALF_ALLFONTS) { + if (widget->flags & ALF_SENDAPPLYFONTS) { SendMessage(widget->hwnd, ALF_WM_APPLYFONTS, 0, (LPARAM)fonts); } } -- cgit v1.2.3