From f0319406c56cdaf6b91e35ef657c6570c1ebdf23 Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Mon, 1 Jun 2020 10:56:58 +0200 Subject: layout code reorganization and renaming s/Widget/Control/ throughout the code. Only the widget factory gets to keep its name for now. --- alf/alflabel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alf/alflabel.cpp') diff --git a/alf/alflabel.cpp b/alf/alflabel.cpp index 05bd35e..b3a87c4 100644 --- a/alf/alflabel.cpp +++ b/alf/alflabel.cpp @@ -307,7 +307,7 @@ ALF_AddLabel(HWND win, WORD id, int x, int y, const TCHAR *text) priv->dpi = 96; SetWindowLongPtr(hwndLabel, 0, (LONG_PTR)priv); - ALF_AddWidget(win, x, y, hwndLabel, 0, 0, ALF_LAYOUT_SIZE_QUERY | ALF_LAYOUT_INHERITFONT | ALF_LAYOUT_INHERITBGCOLOR | ALF_LAYOUT_SENDBGCHANGE | ALF_LAYOUT_SENDDPICHANGE); + ALF_AddControl(win, x, y, hwndLabel, 0, 0, ALF_LAYOUT_SIZE_QUERY | ALF_LAYOUT_INHERITFONT | ALF_LAYOUT_INHERITBGCOLOR | ALF_LAYOUT_SENDBGCHANGE | ALF_LAYOUT_SENDDPICHANGE); return hwndLabel; } -- cgit v1.2.3