diff options
| author | Max Khon <fjoe@FreeBSD.org> | 2019-12-09 09:29:12 +0000 |
|---|---|---|
| committer | Max Khon <fjoe@FreeBSD.org> | 2019-12-09 09:29:12 +0000 |
| commit | 7cabf087a292e02761c591301097faeb0808069b (patch) | |
| tree | 1e229e8735dd4d60352f6789f1749ed2bb0daa70 /databases/pgadmin3/files/patch-wxgtk3 | |
| parent | sysutils/hatop: Switch to Python 3.6+ (diff) | |
- Add support for PostgreSQL 10 [1]
- Add support for PostgreSQL 11 [2]
- Fix query tool window crash [2]
- Bump PORTREVISION
PR: 236572, 238135
Submitted by: kirill@ironlogic.ru [2]
Obtained from: Debian [1]
Notes
Notes:
svn path=/head/; revision=519598
Diffstat (limited to 'databases/pgadmin3/files/patch-wxgtk3')
| -rw-r--r-- | databases/pgadmin3/files/patch-wxgtk3 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/databases/pgadmin3/files/patch-wxgtk3 b/databases/pgadmin3/files/patch-wxgtk3 new file mode 100644 index 000000000000..e3b0cbfe211c --- /dev/null +++ b/databases/pgadmin3/files/patch-wxgtk3 @@ -0,0 +1,28 @@ +*** pgadmin/frm/frmQuery.cpp.orig Thu Jan 7 15:47:32 2016 +--- pgadmin/frm/frmQuery.cpp Sat May 25 18:03:04 2019 +*************** +*** 1795,1800 **** +--- 1795,1805 ---- + + void frmQuery::OnPositionStc(wxStyledTextEvent &event) + { ++ CallAfter(&frmQuery::DoUpdatePositionStc,event); ++ } ++ ++ void frmQuery::DoUpdatePositionStc(const wxStyledTextEvent &event) ++ { + int selFrom, selTo, selCount; + sqlQuery->GetSelection(&selFrom, &selTo); + selCount = selTo - selFrom; +*** pgadmin/include/frm/frmQuery.h.orig Thu Jan 7 15:47:32 2016 +--- pgadmin/include/frm/frmQuery.h Sat May 25 18:03:56 2019 +*************** +*** 171,176 **** +--- 171,177 ---- + + void OnChangeStc(wxStyledTextEvent &event); + void OnPositionStc(wxStyledTextEvent &event); ++ void DoUpdatePositionStc(const wxStyledTextEvent &event); + void OnClose(wxCloseEvent &event); + void OnSetFocus(wxFocusEvent &event); + void OnContents(wxCommandEvent &event); |
