diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx index 0819ff1b5aab..4c3a7beafa5f 100644 --- a/include/vcl/button.hxx +++ b/include/vcl/button.hxx @@ -335,21 +335,6 @@ public: virtual FactoryFunction GetUITestFactory() const override; }; -class VCL_DLLPUBLIC ImageButton final : public PushButton -{ -protected: - using PushButton::ImplInitStyle; - -private: - SAL_DLLPRIVATE void ImplInitStyle(); - - ImageButton( const ImageButton & ) = delete; - ImageButton & operator= ( const ImageButton & ) = delete; - -public: - ImageButton( vcl::Window* pParent, WinBits nStyle = 0 ); -}; - #endif // INCLUDED_VCL_BUTTON_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/toolkit/button.hxx b/include/vcl/toolkit/button.hxx index cb581a407c59..0c90976cbd70 100644 --- a/include/vcl/toolkit/button.hxx +++ b/include/vcl/toolkit/button.hxx @@ -167,4 +167,19 @@ public: virtual FactoryFunction GetUITestFactory() const override; }; +class VCL_DLLPUBLIC ImageButton final : public PushButton +{ +protected: + using PushButton::ImplInitStyle; + +private: + SAL_DLLPRIVATE void ImplInitStyle(); + + ImageButton( const ImageButton & ) = delete; + ImageButton & operator= ( const ImageButton & ) = delete; + +public: + ImageButton( vcl::Window* pParent, WinBits nStyle = 0 ); +}; + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */