From 8d4164997f4e9bf8a808d9e64fbf77248b704620 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 23 Mar 2018 09:01:43 +0000 Subject: inherit from Control for focus support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Idbcdaa97c2ff5f9d8f20270b09753693b03a67a6 Reviewed-on: https://gerrit.libreoffice.org/51767 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- include/vcl/layout.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx index d1488ba77e77..6af0686775d0 100644 --- a/include/vcl/layout.hxx +++ b/include/vcl/layout.hxx @@ -610,7 +610,7 @@ public: void set_property(const OString &rKey, const OUString &rValue); }; -class VCL_DLLPUBLIC VclDrawingArea : public vcl::Window +class VCL_DLLPUBLIC VclDrawingArea : public Control { private: Link, void> m_aPaintHdl; @@ -642,7 +642,7 @@ private: public: VclDrawingArea(vcl::Window *pParent, WinBits nStyle) - : vcl::Window(pParent, nStyle) + : Control(pParent, nStyle) { } void SetPaintHdl(const Link, void>& rLink) -- cgit