summaryrefslogtreecommitdiff
path: root/alf/alfbutton.cpp
diff options
context:
space:
mode:
authorJonas Kümmerlin <jonas@kuemmerlin.eu>2019-01-03 01:06:00 +0100
committerJonas Kümmerlin <jonas@kuemmerlin.eu>2019-01-03 01:06:00 +0100
commitcd7b608f0517c1100f79b4a3ec654e4178373506 (patch)
tree7ffce716180ea4d28ab2d889348aa46601e496d8 /alf/alfbutton.cpp
parent2517546be1599c63843e45bf1ac6c9ddb9c0dbf4 (diff)
widget layout improvements
Diffstat (limited to 'alf/alfbutton.cpp')
-rw-r--r--alf/alfbutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alf/alfbutton.cpp b/alf/alfbutton.cpp
index 729e7ee..95e8e8d 100644
--- a/alf/alfbutton.cpp
+++ b/alf/alfbutton.cpp
@@ -90,7 +90,7 @@ ALF_AddButton(HWND win, WORD id, UINT x, UINT y, const TCHAR *text)
app->compatFn->SetWindowSubclass(hwndButton, ALF__ButtonSubclassProc, 0, (DWORD_PTR)app);
SetWindowPos(hwndButton, NULL, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE|SWP_NOZORDER|SWP_FRAMECHANGED);
- ALFAddWidgetParams p;
+ ALFWidgetLayoutParams p;
ZeroMemory(&p, sizeof(p));
p.hwnd = hwndButton;
p.x = x;