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:
@@ -578,7 +578,8 @@ void ScintillaWX::DoCommand(int ID) {
|
|||||||
|
|
||||||
|
|
||||||
void ScintillaWX::DoContextMenu(Point pt) {
|
void ScintillaWX::DoContextMenu(Point pt) {
|
||||||
ContextMenu(pt);
|
if (displayPopupMenu)
|
||||||
|
ContextMenu(pt);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScintillaWX::DoOnListBox() {
|
void ScintillaWX::DoOnListBox() {
|
||||||
|
|||||||
@@ -578,7 +578,8 @@ void ScintillaWX::DoCommand(int ID) {
|
|||||||
|
|
||||||
|
|
||||||
void ScintillaWX::DoContextMenu(Point pt) {
|
void ScintillaWX::DoContextMenu(Point pt) {
|
||||||
ContextMenu(pt);
|
if (displayPopupMenu)
|
||||||
|
ContextMenu(pt);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScintillaWX::DoOnListBox() {
|
void ScintillaWX::DoOnListBox() {
|
||||||
|
|||||||
Reference in New Issue
Block a user