diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2019-01-03 01:06:00 +0100 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2019-01-03 01:06:00 +0100 |
| commit | cd7b608f0517c1100f79b4a3ec654e4178373506 (patch) | |
| tree | 7ffce716180ea4d28ab2d889348aa46601e496d8 /alf/alfbutton.cpp | |
| parent | 2517546be1599c63843e45bf1ac6c9ddb9c0dbf4 (diff) | |
widget layout improvements
Diffstat (limited to 'alf/alfbutton.cpp')
| -rw-r--r-- | alf/alfbutton.cpp | 2 |
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; |
