include/vcl/layout.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 8d4164997f4e9bf8a808d9e64fbf77248b704620 Author: Caolán McNamara <[email protected]> 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 <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> 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) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
