From 5218e8c9533220e36f5dbdd94b7a4998104946d1 Mon Sep 17 00:00:00 2001 From: lsv Date: Mon, 13 Apr 2026 18:44:52 +0500 Subject: [PATCH] fix GTK bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Нажатие правой кнопки не передавалось окну. --- include/utils/popuphelp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/utils/popuphelp.h b/include/utils/popuphelp.h index 2d557e8..f3189b1 100644 --- a/include/utils/popuphelp.h +++ b/include/utils/popuphelp.h @@ -251,6 +251,7 @@ public: //wxString s = wxString::Format("cell = %s",ctext.c_str()); }); Bind(wxEVT_CHAR_HOOK, &popuphelp::keyProcessing,this); + htmlWindow->Bind(wxEVT_RIGHT_DOWN, [&](wxMouseEvent& event) {}); htmlWindow->Bind(wxEVT_RIGHT_UP, [&](wxMouseEvent& event) { wxString name; wxLongLong e = wxGetLocalTimeMillis();