diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-04-14 10:37:41 +0200 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-04-14 10:37:41 +0200 |
commit | 4862537f5858d956503113a5cd44933e02281a70 (patch) | |
tree | 04d74521f5b3a61e40d8fd0d932636ab0846c9b4 /svtools/source/toolpanel | |
parent | 7aaf18c9983734125c595c294a3f50fc95de38f0 (diff) |
slidecopy: re-implemented the TaskPane's "View" menu in SFX, using the code formerly found in SD
Diffstat (limited to 'svtools/source/toolpanel')
-rw-r--r-- | svtools/source/toolpanel/toolpaneldrawer.cxx | 7 | ||||
-rw-r--r-- | svtools/source/toolpanel/toolpaneldrawer.hxx | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/svtools/source/toolpanel/toolpaneldrawer.cxx b/svtools/source/toolpanel/toolpaneldrawer.cxx index e9a12de762b1..c33a33843d2b 100644 --- a/svtools/source/toolpanel/toolpaneldrawer.cxx +++ b/svtools/source/toolpanel/toolpaneldrawer.cxx @@ -224,6 +224,13 @@ namespace svt } //------------------------------------------------------------------------------------------------------------------ + void ToolPanelDrawer::MouseButtonDown( const MouseEvent& i_rMouseEvent ) + { + // consume this event, and do not forward to the base class - it would sent a NotifyEvent, which in turn, when + // we live in a DockingWindow, would start undocking + } + + //------------------------------------------------------------------------------------------------------------------ void ToolPanelDrawer::DataChanged( const DataChangedEvent& i_rEvent ) { Window::DataChanged( i_rEvent ); diff --git a/svtools/source/toolpanel/toolpaneldrawer.hxx b/svtools/source/toolpanel/toolpaneldrawer.hxx index 992c15d67d6d..e088365176f4 100644 --- a/svtools/source/toolpanel/toolpaneldrawer.hxx +++ b/svtools/source/toolpanel/toolpaneldrawer.hxx @@ -54,6 +54,7 @@ namespace svt virtual void GetFocus(); virtual void LoseFocus(); virtual void DataChanged( const DataChangedEvent& i_rEvent ); + virtual void MouseButtonDown( const MouseEvent& i_rMouseEvent ); virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > GetComponentInterface( BOOL i_bCreate ); |