mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
Press ESC close context help window (Linux)
This commit is contained in:
parent
5f8e21d794
commit
7db41df697
1 changed files with 6 additions and 0 deletions
|
|
@ -139,6 +139,12 @@ public:
|
|||
//ctext=htmlWindow->SelectionToText();
|
||||
//wxString s = wxString::Format("cell = %s",ctext.c_str());
|
||||
});
|
||||
htmlWindow->Bind(wxEVT_KEY_DOWN, [&](wxKeyEvent& event) {
|
||||
if (event.GetKeyCode() == WXK_ESCAPE) {
|
||||
Hide();
|
||||
return;
|
||||
}
|
||||
});
|
||||
htmlWindow->Bind(wxEVT_RIGHT_UP, [&](wxMouseEvent& event) {
|
||||
wxString name;
|
||||
wxLongLong e = wxGetLocalTimeMillis();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue