summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/workctrl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/inc/workctrl.hxx')
-rw-r--r--sw/source/uibase/inc/workctrl.hxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/sw/source/uibase/inc/workctrl.hxx b/sw/source/uibase/inc/workctrl.hxx
index 493b164d1962..6bb9c1f5377c 100644
--- a/sw/source/uibase/inc/workctrl.hxx
+++ b/sw/source/uibase/inc/workctrl.hxx
@@ -110,14 +110,21 @@ public:
DECL_LINK(PopupHdl, PopupMenu*);
};
+class SwScrollNaviPopup;
+
class SwScrollNaviToolBox : public ToolBox
{
+ SwScrollNaviPopup *m_pNaviPopup;
+
virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void RequestHelp( const HelpEvent& rHEvt ) SAL_OVERRIDE;
- public:
- SwScrollNaviToolBox(vcl::Window* pParent, WinBits nWinStyle ) :
- ToolBox(pParent, nWinStyle ) {}
+public:
+ SwScrollNaviToolBox(vcl::Window* pParent, SwScrollNaviPopup* pNaviPopup, WinBits nWinStyle)
+ : ToolBox(pParent, nWinStyle)
+ , m_pNaviPopup(pNaviPopup)
+ {
+ }
};
class SwScrollNaviPopup : public SfxPopupWindow