diff options
Diffstat (limited to 'include/vcl/button.hxx')
-rw-r--r-- | include/vcl/button.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx index 5717ebcaf5e5..408eda900569 100644 --- a/include/vcl/button.hxx +++ b/include/vcl/button.hxx @@ -409,7 +409,7 @@ private: TriState meState; TriState meSaveValue; bool mbTriState; - Link<> maToggleHdl; + Link<CheckBox&,void> maToggleHdl; // when mbLegacyNoTextAlign is set then the old behaviour where // the WB_LEFT, WB_RIGHT & WB_CENTER affect the image placement // occurs, otherwise the image ( checkbox box ) is placed @@ -482,7 +482,7 @@ public: Size CalcMinimumSize( long nMaxWidth = 0 ) const; virtual Size GetOptimalSize() const SAL_OVERRIDE; - void SetToggleHdl( const Link<>& rLink ) { maToggleHdl = rLink; } + void SetToggleHdl( const Link<CheckBox&,void>& rLink ) { maToggleHdl = rLink; } void SetLegacyNoTextAlign( bool bVal ) { mbLegacyNoTextAlign = bVal; } virtual bool set_property(const OString &rKey, const OString &rValue) SAL_OVERRIDE; |