summaryrefslogtreecommitdiff
path: root/alf/alflabel.cpp
diff options
context:
space:
mode:
authorJonas Kümmerlin <jonas@kuemmerlin.eu>2020-06-01 10:56:58 +0200
committerJonas Kümmerlin <jonas@kuemmerlin.eu>2020-06-01 10:56:58 +0200
commitf0319406c56cdaf6b91e35ef657c6570c1ebdf23 (patch)
tree46afc203388b2969ff5e34e68e2ba5c1434c3fe4 /alf/alflabel.cpp
parent960d6984b373207f1f0cbca39e458f05e623390e (diff)
layout code reorganization and renaming
s/Widget/Control/ throughout the code. Only the widget factory gets to keep its name for now.
Diffstat (limited to 'alf/alflabel.cpp')
-rw-r--r--alf/alflabel.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}