diff options
author | Antonio Fernandez <antonio.fernandez@aentos.es> | 2012-08-01 11:05:53 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-11-14 13:52:39 +0100 |
commit | c8635ff858e85031780c36258321bf7c51d4c2ff (patch) | |
tree | 644908af100ae5b918515f60c189bebcfbdd010c /vcl/inc/salmenu.hxx | |
parent | 818acaaa0d77e363c74112c435ab8bea425f34ae (diff) |
Native menu is completely build in one step.
Change-Id: I772c267b3c136e6baab2623dbf5538b5076d43ff
Diffstat (limited to 'vcl/inc/salmenu.hxx')
-rw-r--r-- | vcl/inc/salmenu.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/salmenu.hxx b/vcl/inc/salmenu.hxx index 010fe1662542..83f6fdc25641 100644 --- a/vcl/inc/salmenu.hxx +++ b/vcl/inc/salmenu.hxx @@ -32,7 +32,7 @@ class SalFrame; struct SalItemParams { - sal_uInt16 nId; // item Id + sal_uInt16 nId; // item Id MenuItemType eType; // MenuItem-Type MenuItemBits nBits; // MenuItem-Bits Menu* pMenu; // Pointer to Menu @@ -81,6 +81,7 @@ public: virtual bool ShowNativePopupMenu(FloatingWindow * pWin, const Rectangle& rRect, sal_uLong nFlags); virtual bool AddMenuBarButton( const SalMenuButtonItem& ); // return false if not implemented or failure virtual void RemoveMenuBarButton( sal_uInt16 nId ); + virtual void Freeze() {} // return an empty rectangle if not implemented // return Rectangle( Point( -1, -1 ), Size( 1, 1 ) ) if menu bar buttons implemented |