diff options
Diffstat (limited to 'include/vcl/ctrl.hxx')
-rw-r--r-- | include/vcl/ctrl.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/vcl/ctrl.hxx b/include/vcl/ctrl.hxx index 115d9dd87ea5..28bf572b54ac 100644 --- a/include/vcl/ctrl.hxx +++ b/include/vcl/ctrl.hxx @@ -42,8 +42,8 @@ protected: private: bool mbHasControlFocus; bool mbShowAccelerator; - Link<> maGetFocusHdl; - Link<> maLoseFocusHdl; + Link<Control&,void> maGetFocusHdl; + Link<Control&,void> maLoseFocusHdl; SAL_DLLPRIVATE void ImplInitControlData(); @@ -161,9 +161,9 @@ public: */ long ToRelativeLineIndex( long nIndex ) const; - void SetGetFocusHdl( const Link<>& rLink ) { maGetFocusHdl = rLink; } - void SetLoseFocusHdl( const Link<>& rLink ) { maLoseFocusHdl = rLink; } - const Link<>& GetLoseFocusHdl() const { return maLoseFocusHdl; } + void SetGetFocusHdl( const Link<Control&,void>& rLink ) { maGetFocusHdl = rLink; } + void SetLoseFocusHdl( const Link<Control&,void>& rLink ) { maLoseFocusHdl = rLink; } + const Link<Control&,void>& GetLoseFocusHdl() const { return maLoseFocusHdl; } /** determines whether the control currently has the focus */ |