summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-02-23 14:42:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-02-23 14:45:18 +0000
commit3cb62eacae001df546c2a8f39ae4d37c33791d0b (patch)
treebadbfeff7b97c17eb68b69f225401403540b622c /include/vcl
parentb4d3a0d6744b8c6e5861b8198b31a434a5c2a6f6 (diff)
gtk3: vcl popups flush any unexecuted Select events on popdown
so if the gtksalmenu integration wants to drive popups by setting a selection on the vcl popup, then the same flush is needed after ShowNativePopupMenu Change-Id: I59be60de5742d1e382cabefcbf0d8cdd5fc30b00
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/menu.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx
index 7ad334ea40c6..2ce8ba4ad610 100644
--- a/include/vcl/menu.hxx
+++ b/include/vcl/menu.hxx
@@ -509,6 +509,7 @@ private:
protected:
SAL_DLLPRIVATE sal_uInt16 ImplExecute( const VclPtr<vcl::Window>& xWindow, const Rectangle& rRect, FloatWinPopupFlags nPopupFlags, Menu* pStaredFrom, bool bPreSelectFirst );
+ SAL_DLLPRIVATE void ImplFlushPendingSelect();
SAL_DLLPRIVATE long ImplCalcHeight( sal_uInt16 nEntries ) const;
SAL_DLLPRIVATE sal_uInt16 ImplCalcVisEntries( long nMaxHeight, sal_uInt16 nStartEntry = 0, sal_uInt16* pLastVisible = nullptr ) const;