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:
Robin Dunn 2002-07-06 00:47:02 +00:00
parent d7abf01706
commit 752cd08c65
2 changed files with 4 additions and 2 deletions

View File

@ -578,7 +578,8 @@ void ScintillaWX::DoCommand(int ID) {
void ScintillaWX::DoContextMenu(Point pt) {
ContextMenu(pt);
if (displayPopupMenu)
ContextMenu(pt);
}
void ScintillaWX::DoOnListBox() {

View File

@ -578,7 +578,8 @@ void ScintillaWX::DoCommand(int ID) {
void ScintillaWX::DoContextMenu(Point pt) {
ContextMenu(pt);
if (displayPopupMenu)
ContextMenu(pt);
}
void ScintillaWX::DoOnListBox() {