diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-09 20:53:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-10 22:13:15 +0200 |
commit | db0824cb3b90b5e5b24601edcd496afd38db71e3 (patch) | |
tree | 5f2b988fed79c2fbe4bd08c551d7bee9077f3c26 | |
parent | cfeb2bde9da7bcb80f1f78a5c790f9fb6ded3844 (diff) |
move CloseButton to be toolkit-only
Change-Id: I1f155f539f0f8b8db28d17a073ea25d398c429ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93897
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | include/vcl/button.hxx | 6 | ||||
-rw-r--r-- | 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 <vcl/button.hxx> +class CloseButton final : public CancelButton +{ +public: + explicit CloseButton(vcl::Window* pParent, WinBits nStyle = 0); +}; + class VCL_DLLPUBLIC HelpButton : public PushButton { protected: |