[Libreoffice-commits] core.git: include/vcl

Caolán McNamara caolanm at redhat.com
Fri Mar 23 10:39:09 UTC 2018


 include/vcl/layout.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8d4164997f4e9bf8a808d9e64fbf77248b704620
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Mar 23 09:01:43 2018 +0000

    inherit from Control for focus support
    
    Change-Id: Idbcdaa97c2ff5f9d8f20270b09753693b03a67a6
    Reviewed-on: https://gerrit.libreoffice.org/51767
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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<std::pair<vcl::RenderContext&, const tools::Rectangle&>, 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<std::pair<vcl::RenderContext&, const tools::Rectangle&>, void>& rLink)


More information about the Libreoffice-commits mailing list