summaryrefslogtreecommitdiff
path: root/include/vcl/button.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/button.hxx')
-rw-r--r--include/vcl/button.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index e40e16f8d96b..472949d86d99 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -96,6 +96,8 @@ public:
/// Sets the button state according to the FeatureStateEvent emitted by an Uno state change.
virtual void statusChanged(const css::frame::FeatureStateEvent& rEvent);
+ virtual FactoryFunction GetUITestFactory() const;
+
protected:
/// Handler for click, in case we want the button to handle uno commands (.uno:Something).
@@ -474,8 +476,9 @@ public:
virtual bool set_property(const OString &rKey, const OString &rValue) override;
virtual void ShowFocus(const Rectangle& rRect) override;
-};
+ virtual FactoryFunction GetUITestFactory() const override;
+};
inline void CheckBox::Check( bool bCheck )
{