include/vcl/builder.hxx                                  |    2 +-
 vcl/source/accessibility/accessiblemenuitemcomponent.cxx |    3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

New commits:
commit dc5d4942bd74fbc2ef9f8b8248e416e9a3cb4a1b
Author:     Tor Lillqvist <[email protected]>
AuthorDate: Thu Jan 22 20:42:59 2026 +0200
Commit:     Tor Lillqvist <[email protected]>
CommitDate: Fri Jan 23 10:10:14 2026 +0100

    We do seem to need <vcl/menu.hxx> here
    
    Otherwise I get compilations errors for PopupMenu, at least for
    --with-distro=CODAWindows.
    
    Change-Id: I5a3af1b04ab373527d26ab84bf3634568cfec1f2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197870
    Tested-by: Jenkins
    Reviewed-by: Tor Lillqvist <[email protected]>

diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx
index a3b25eead433..595c2f84a77b 100644
--- a/include/vcl/builder.hxx
+++ b/include/vcl/builder.hxx
@@ -13,6 +13,7 @@
 #include <sal/log.hxx>
 #include <vcl/dllapi.h>
 #include <utility>
+#include <vcl/menu.hxx>
 #include <vcl/widgetbuilder.hxx>
 #include <vcl/window.hxx>
 #include <vcl/vclptr.hxx>
@@ -34,7 +35,6 @@ class FormattedField;
 class ListBox;
 class MessageDialog;
 class NumericFormatter;
-class PopupMenu;
 class ScrollBar;
 class SvTabListBox;
 class Slider;
commit 729722ff0de4e7fd1028543033efae34fc03b2a3
Author:     Tor Lillqvist <[email protected]>
AuthorDate: Thu Jan 22 19:19:37 2026 +0200
Commit:     Tor Lillqvist <[email protected]>
CommitDate: Fri Jan 23 10:10:00 2026 +0100

    This needs <vcl/keycod.hxx> on _WIN32
    
    Change-Id: Iaead98cd0507866fafcd0ad95b5865965eedc72f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197869
    Tested-by: Jenkins
    Reviewed-by: Tor Lillqvist <[email protected]>

diff --git a/vcl/source/accessibility/accessiblemenuitemcomponent.cxx 
b/vcl/source/accessibility/accessiblemenuitemcomponent.cxx
index c535b1a6b6b9..d2b0e0f7b042 100644
--- a/vcl/source/accessibility/accessiblemenuitemcomponent.cxx
+++ b/vcl/source/accessibility/accessiblemenuitemcomponent.cxx
@@ -26,6 +26,9 @@
 #include <unotools/accessiblerelationsethelper.hxx>
 #include <comphelper/accessiblecontexthelper.hxx>
 #include <comphelper/accessibletexthelper.hxx>
+#if defined(_WIN32)
+#include <vcl/keycod.hxx>
+#endif
 #include <vcl/svapp.hxx>
 #include <vcl/unohelp.hxx>
 #include <vcl/window.hxx>

Reply via email to