diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2018-12-26 22:38:08 +0100 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2018-12-26 22:38:08 +0100 |
| commit | 641789a1c653f46bacfb9dad0a2fde50ac360a5f (patch) | |
| tree | b72414bf4fbb6ab50d69da8aabcd552eebeb24ac /widgetfactory.c | |
| parent | 061759e716ba8326efaa7f1328991ddd91085ad6 (diff) | |
focus and default button stuff
Diffstat (limited to 'widgetfactory.c')
| -rw-r--r-- | widgetfactory.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/widgetfactory.c b/widgetfactory.c index b5b9142..b0d503b 100644 --- a/widgetfactory.c +++ b/widgetfactory.c @@ -92,6 +92,7 @@ wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCm ALF_AddButton(win, ID_B2, 0, 2, L"Oh m&y god,\r\nwho the hell cares?"); ALF_RecalculateLayout(win); + ALF_SetDefaultButton(win, ID_B1); ALF_ResizeWindow(win, 1, 1); |
