Actually check if the menu should be shown before popping it up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d7abf01706
commit
752cd08c65
@ -578,7 +578,8 @@ void ScintillaWX::DoCommand(int ID) {
|
||||
|
||||
|
||||
void ScintillaWX::DoContextMenu(Point pt) {
|
||||
ContextMenu(pt);
|
||||
if (displayPopupMenu)
|
||||
ContextMenu(pt);
|
||||
}
|
||||
|
||||
void ScintillaWX::DoOnListBox() {
|
||||
|
@ -578,7 +578,8 @@ void ScintillaWX::DoCommand(int ID) {
|
||||
|
||||
|
||||
void ScintillaWX::DoContextMenu(Point pt) {
|
||||
ContextMenu(pt);
|
||||
if (displayPopupMenu)
|
||||
ContextMenu(pt);
|
||||
}
|
||||
|
||||
void ScintillaWX::DoOnListBox() {
|
||||
|
Loading…
Reference in New Issue
Block a user