summaryrefslogtreecommitdiff
path: root/vcl/source/window/menubarwindow.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-19 09:11:34 +0200
committerNoel Grandin <noel@peralex.com>2015-08-26 11:15:35 +0200
commit167bc621ef825ed5b961502fe9324a675ee34e42 (patch)
tree523838d8adc14a62f846529ee6eab3343b2fe87b /vcl/source/window/menubarwindow.hxx
parent46a27805fb707544a844a961a3743b8b992282f0 (diff)
Convert vcl Button Link<> click handler to typed Link<Button*,void>
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
Diffstat (limited to 'vcl/source/window/menubarwindow.hxx')
-rw-r--r--vcl/source/window/menubarwindow.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/vcl/source/window/menubarwindow.hxx b/vcl/source/window/menubarwindow.hxx
index 579e03b687f1..269651d6b12f 100644
--- a/vcl/source/window/menubarwindow.hxx
+++ b/vcl/source/window/menubarwindow.hxx
@@ -27,6 +27,8 @@
#include <vcl/toolbox.hxx>
#include <vcl/window.hxx>
+class Button;
+
/** Toolbox that holds the close button (right hand side of the menubar).
This is also used by the online update check; when an update is available, it
@@ -101,9 +103,9 @@ private:
virtual void ApplySettings(vcl::RenderContext& rRenderContext) SAL_OVERRIDE;
- DECL_LINK_TYPED(CloseHdl, ToolBox *, void);
- DECL_LINK(FloatHdl, void *);
- DECL_LINK(HideHdl, void *);
+ DECL_LINK_TYPED(CloseHdl, ToolBox*, void);
+ DECL_LINK_TYPED(FloatHdl, Button*, void);
+ DECL_LINK_TYPED(HideHdl, Button*, void);
DECL_LINK( ToolboxEventHdl, VclWindowEvent* );
DECL_LINK( ShowHideListener, VclWindowEvent* );