summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/vcl/button.hxx32
-rw-r--r--include/vcl/toolkit/button.hxx32
2 files changed, 32 insertions, 32 deletions
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index 02371c996e95..1d062581a355 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -215,38 +215,6 @@ inline bool PushButton::IsChecked() const
return (GetState() == TRISTATE_TRUE);
}
-class VCL_DLLPUBLIC OKButton : public PushButton
-{
-protected:
- using PushButton::ImplInit;
-private:
- SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle );
-
- OKButton (const OKButton &) = delete;
- OKButton & operator= (const OKButton &) = delete;
-
-public:
- explicit OKButton( vcl::Window* pParent, WinBits nStyle = WB_DEFBUTTON );
-
- virtual void Click() override;
-};
-
-class VCL_DLLPUBLIC CancelButton : public PushButton
-{
-protected:
- using PushButton::ImplInit;
-private:
- SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle );
-
- CancelButton (const CancelButton &) = delete;
- CancelButton & operator= (const CancelButton &) = delete;
-
-public:
- explicit CancelButton( vcl::Window* pParent, WinBits nStyle = 0 );
-
- virtual void Click() override;
-};
-
class VCL_DLLPUBLIC RadioButton : public Button
{
private:
diff --git a/include/vcl/toolkit/button.hxx b/include/vcl/toolkit/button.hxx
index 6f8910e435a9..fd9692cae2ac 100644
--- a/include/vcl/toolkit/button.hxx
+++ b/include/vcl/toolkit/button.hxx
@@ -24,6 +24,38 @@
#include <vcl/button.hxx>
+class VCL_DLLPUBLIC OKButton : public PushButton
+{
+protected:
+ using PushButton::ImplInit;
+private:
+ SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle );
+
+ OKButton (const OKButton &) = delete;
+ OKButton & operator= (const OKButton &) = delete;
+
+public:
+ explicit OKButton( vcl::Window* pParent, WinBits nStyle = WB_DEFBUTTON );
+
+ virtual void Click() override;
+};
+
+class VCL_DLLPUBLIC CancelButton : public PushButton
+{
+protected:
+ using PushButton::ImplInit;
+private:
+ SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle );
+
+ CancelButton (const CancelButton &) = delete;
+ CancelButton & operator= (const CancelButton &) = delete;
+
+public:
+ explicit CancelButton( vcl::Window* pParent, WinBits nStyle = 0 );
+
+ virtual void Click() override;
+};
+
class CloseButton final : public CancelButton
{
public: