diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-03-23 09:01:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-03-23 11:38:44 +0100 |
commit | 8d4164997f4e9bf8a808d9e64fbf77248b704620 (patch) | |
tree | 78116a5bd30aeded381bb1ee503a7be093d01c59 /include | |
parent | b1119ed70bae01a862067c43722c55e7c39667f6 (diff) |
inherit from Control for focus support
Change-Id: Idbcdaa97c2ff5f9d8f20270b09753693b03a67a6
Reviewed-on: https://gerrit.libreoffice.org/51767
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/layout.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
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) |