diff options
Diffstat (limited to 'vcl/source/window/menufloatingwindow.hxx')
-rw-r--r-- | vcl/source/window/menufloatingwindow.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/menufloatingwindow.hxx b/vcl/source/window/menufloatingwindow.hxx index 87912936fd2e..ce157e5c12f4 100644 --- a/vcl/source/window/menufloatingwindow.hxx +++ b/vcl/source/window/menufloatingwindow.hxx @@ -33,11 +33,11 @@ class MenuFloatingWindow : public FloatingWindow, public MenuWindow { friend void Menu::ImplFillLayoutData() const; - friend Menu::~Menu(); + friend void Menu::dispose(); private: - Menu* pMenu; - PopupMenu* pActivePopup; + VclPtr<Menu> pMenu; + VclPtr<PopupMenu> pActivePopup; Timer aHighlightChangedTimer; Timer aSubmenuCloseTimer; Timer aScrollTimer; |