From 17709f1fc7979b9b37f03963770b175b7c32a62c Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Tue, 26 May 2020 23:27:31 +0200 Subject: focus and default button handling: fixes and some documenting comments --- widgetfactory.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'widgetfactory.cpp') diff --git a/widgetfactory.cpp b/widgetfactory.cpp index 315a95c..db720ac 100644 --- a/widgetfactory.cpp +++ b/widgetfactory.cpp @@ -865,6 +865,7 @@ WinMain ALF_LayoutSetColumnExpandNumerator(win, 4, 1); ALF_SetDefaultButton(win, ID_HELLO); + ALF_SetFocus(GetNextDlgTabItem(win, win, FALSE)); ALF_ResizeWindow(win, 1, 1); -- cgit v1.2.3