summaryrefslogtreecommitdiff
path: root/include/vcl/menubtn.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/menubtn.hxx')
-rw-r--r--include/vcl/menubtn.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/menubtn.hxx b/include/vcl/menubtn.hxx
index b5c1e226a372..a76e3a3aba94 100644
--- a/include/vcl/menubtn.hxx
+++ b/include/vcl/menubtn.hxx
@@ -38,6 +38,7 @@ private:
std::unique_ptr<Timer> mpMenuTimer;
VclPtr<PopupMenu> mpMenu;
VclPtr<Window> mpFloatingWindow;
+ OString msCurItemIdent;
sal_uInt16 mnCurItemId;
bool mbDelayMenu;
Link<MenuButton*,void> maActivateHdl;
@@ -81,7 +82,7 @@ public:
void SetPopover(Window* pWindow);
sal_uInt16 GetCurItemId() const { return mnCurItemId; }
- OString GetCurItemIdent() const;
+ OString GetCurItemIdent() const { return msCurItemIdent; }
void SetActivateHdl( const Link<MenuButton *, void>& rLink ) { maActivateHdl = rLink; }
void SetSelectHdl( const Link<MenuButton *, void>& rLink ) { maSelectHdl = rLink; }