From db0824cb3b90b5e5b24601edcd496afd38db71e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 9 May 2020 20:53:00 +0100 Subject: [PATCH] move CloseButton to be toolkit-only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I1f155f539f0f8b8db28d17a073ea25d398c429ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93897 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- include/vcl/button.hxx | 6 ------ include/vcl/toolkit/button.hxx | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx index 97fc939e9c1e..6f4231f7c473 100644 --- a/include/vcl/button.hxx +++ b/include/vcl/button.hxx @@ -247,12 +247,6 @@ public: virtual void Click() override; }; -class CloseButton final : public CancelButton -{ -public: - explicit CloseButton(vcl::Window* pParent, WinBits nStyle = 0); -}; - class VCL_DLLPUBLIC RadioButton : public Button { private: diff --git a/include/vcl/toolkit/button.hxx b/include/vcl/toolkit/button.hxx index d2ec4d2ceb0c..6f8910e435a9 100644 --- a/include/vcl/toolkit/button.hxx +++ b/include/vcl/toolkit/button.hxx @@ -24,6 +24,12 @@ #include +class CloseButton final : public CancelButton +{ +public: + explicit CloseButton(vcl::Window* pParent, WinBits nStyle = 0); +}; + class VCL_DLLPUBLIC HelpButton : public PushButton { protected: