summaryrefslogtreecommitdiff
path: root/toolkit/inc/toolkit
diff options
context:
space:
mode:
authorThomas Benisch <tbe@openoffice.org>2002-06-19 12:18:36 +0000
committerThomas Benisch <tbe@openoffice.org>2002-06-19 12:18:36 +0000
commitd3ebf9fe8e5ce78476f50a7d0d2a090e2eaeda68 (patch)
tree6ca763db45a0d15cbdc362df67f033a304f05a68 /toolkit/inc/toolkit
parent123bf09862436613c9d38f4f05f8cf9fddb2b6ef (diff)
#100195# VCLXMenuWindow now also handles the setting of a new menubar at the window
Diffstat (limited to 'toolkit/inc/toolkit')
-rw-r--r--toolkit/inc/toolkit/awt/vclxwindows.hxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/toolkit/inc/toolkit/awt/vclxwindows.hxx b/toolkit/inc/toolkit/awt/vclxwindows.hxx
index ccbc6a36ba42..0dda6266d2fa 100644
--- a/toolkit/inc/toolkit/awt/vclxwindows.hxx
+++ b/toolkit/inc/toolkit/awt/vclxwindows.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: vclxwindows.hxx,v $
*
- * $Revision: 1.21 $
+ * $Revision: 1.22 $
*
- * last change: $Author: ssa $ $Date: 2002-06-10 15:36:12 $
+ * last change: $Author: tbe $ $Date: 2002-06-19 13:18:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -275,6 +275,8 @@ class ComboBox;
class FormatterBase;
class SpinField;
class ToolBox;
+class VclSimpleEvent;
+class VclMenuEvent;
static double ImplCalcLongValue( double nValue, sal_uInt16 nDigits )
{
@@ -1113,6 +1115,9 @@ private:
::com::sun::star::uno::Reference< ::drafts::com::sun::star::accessibility::XAccessible > m_xParent;
protected:
+ DECL_LINK( MenuEventListener, VclSimpleEvent* );
+ virtual void ProcessMenuEvent( const VclMenuEvent& rVclMenuEvent );
+ virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent );
virtual ::com::sun::star::uno::Reference< ::drafts::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext();
public:
@@ -1122,7 +1127,7 @@ public:
Menu* GetMenu() { return m_pMenu; }
- void SetMenu( Menu* pMenu ) { m_pMenu = pMenu; }
+ void SetMenu( Menu* pMenu );
void SetIndexInParent( sal_Int32 nIndexInParent ) { m_nIndexInParent = nIndexInParent; }
void SetAccessibleParent( const ::com::sun::star::uno::Reference< ::drafts::com::sun::star::accessibility::XAccessible >& rxParent ) { m_xParent = rxParent; }