diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-02-22 20:57:52 +0000 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2016-04-08 12:49:44 +0200 |
commit | 9820da23375d89c26d6feb9d8ee3969916dc0d76 (patch) | |
tree | 957c64fbe4003544948765b944bb8415747b030c /include/vcl | |
parent | d94db444a6596e7169729e18874cb8ed71a4259c (diff) |
gtk3: some changes towards enabling native gtk3 popup menus
these menubar things can be menu things and can then do
away with the casting, no logic changes intended
Change-Id: Ibb1b5354d5e1483327f172d6890e134f1e4b9ee4
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/menu.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx index 479849f608bc..6636c8f8886d 100644 --- a/include/vcl/menu.hxx +++ b/include/vcl/menu.hxx @@ -411,8 +411,11 @@ public: void HighlightItem( sal_uInt16 nItemPos ); void DeHighlight() { HighlightItem( 0xFFFF ); } // MENUITEMPOS_INVALID -}; + bool HandleMenuCommandEvent(Menu *pMenu, sal_uInt16 nEventId) const; + bool HandleMenuActivateEvent(Menu *pMenu) const; + bool HandleMenuDeActivateEvent(Menu *pMenu) const; +}; namespace vcl { namespace MenuInvalidator { @@ -473,10 +476,7 @@ public: void ShowButtons( bool bClose, bool bFloat, bool bHide ); virtual void SelectItem(sal_uInt16 nId) SAL_OVERRIDE; - bool HandleMenuActivateEvent(Menu *pMenu) const; - bool HandleMenuDeActivateEvent(Menu *pMenu) const; bool HandleMenuHighlightEvent(Menu *pMenu, sal_uInt16 nEventId) const; - bool HandleMenuCommandEvent(Menu *pMenu, sal_uInt16 nEventId) const; bool HandleMenuButtonEvent(Menu *pMenu, sal_uInt16 nEventId); void SetCloseButtonClickHdl( const Link<>& rLink ) { maCloseHdl = rLink; } |