summaryrefslogtreecommitdiff
path: root/databases/pgadmin3/files/patch-wxgtk3
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2019-12-09 09:29:12 +0000
committerMax Khon <fjoe@FreeBSD.org>2019-12-09 09:29:12 +0000
commit7cabf087a292e02761c591301097faeb0808069b (patch)
tree1e229e8735dd4d60352f6789f1749ed2bb0daa70 /databases/pgadmin3/files/patch-wxgtk3
parentsysutils/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-wxgtk328
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);