From a605e759f8bc28b8b862325672e38aa9bc51e80b Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Thu, 9 Dec 2021 09:41:50 +0100 Subject: jsdialog: send info about initial focus in dialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I9daef497cb083e863d45a2acfd7eee3ee92bdc38 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126565 Tested-by: Jenkins CollaboraOffice Reviewed-by: Mert Tumer Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127682 Tested-by: Jenkins Reviewed-by: Szymon Kłos --- include/vcl/toolkit/dialog.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/vcl') diff --git a/include/vcl/toolkit/dialog.hxx b/include/vcl/toolkit/dialog.hxx index cec7ddbe67b3..31326106cbd5 100644 --- a/include/vcl/toolkit/dialog.hxx +++ b/include/vcl/toolkit/dialog.hxx @@ -131,6 +131,8 @@ private: bool ImplStartExecute(); static void ImplEndExecuteModal(); void ImplSetModalInputMode(bool bModal); + + vcl::Window* GetFirstControlForFocus(); public: /// Commence execution of a modal dialog, disposes owner on failure -- cgit