diff options
author | Christian Lippka <cl@openoffice.org> | 2010-01-17 18:20:18 +0100 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2010-01-17 18:20:18 +0100 |
commit | 8cddfc59f4a7b218eb0580729db19254cbd12770 (patch) | |
tree | e744ec5fd3073c4a3b3cd6028689db0eb830fd5f /sfx2/inc | |
parent | toolbar menu rendering finetuning (diff) | |
download | core-8cddfc59f4a7b218eb0580729db19254cbd12770.tar.gz core-8cddfc59f4a7b218eb0580729db19254cbd12770.zip |
allow SfxToolBoxControl to use the vcl::DockManager for popup windows
Diffstat (limited to 'sfx2/inc')
-rw-r--r-- | sfx2/inc/sfx2/tbxctrl.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sfx2/inc/sfx2/tbxctrl.hxx b/sfx2/inc/sfx2/tbxctrl.hxx index 1905242791a0..ef3ea7a8f115 100644 --- a/sfx2/inc/sfx2/tbxctrl.hxx +++ b/sfx2/inc/sfx2/tbxctrl.hxx @@ -121,6 +121,7 @@ class SfxFrameStatusListener : public svt::FrameStatusListener class SFX2_DLLPUBLIC SfxPopupWindow: public FloatingWindow, public SfxStatusListenerInterface { friend class SfxToolBox_Impl; +friend struct SfxToolBoxControl_Impl; BOOL m_bFloating; ULONG m_nEventId; BOOL m_bCascading; @@ -240,6 +241,11 @@ protected: // Must be called by subclass to set a new popup window instance void SetPopupWindow( SfxPopupWindow* pWindow ); + /** Uses the given Window as Popup Window and starts Popup using the new DockingManager. + * Should be called by subclasses instead of SetPopupWindow + */ + void StartPopupMode( Window* pWindow ); + // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL acquire() throw(); |