aboutsummaryrefslogtreecommitdiff
path: root/databases/pgadmin3-12/files/patch-src-ui-dlgRule.cpp
blob: 15f7d79c8e4b1f08e6a397cd4f6e2b5fe2cd83b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- src/ui/dlgRule.cpp.orig	Mon Jun 28 00:57:12 2004
+++ src/ui/dlgRule.cpp	Mon Jun 28 00:57:52 2004
@@ -47,7 +47,7 @@
     EVT_CHECKBOX(XRCID("chkDelete"),                dlgRule::OnChange)
     EVT_CHECKBOX(XRCID("chkDoInstead"),             dlgRule::OnChange)
     EVT_RADIOBOX(XRCID("rbxEvent"),                 dlgRule::OnChange)
-    EVT_STC_MODIFIED(CTL_SQLBOX,                    dlgRule::OnChange)
+    EVT_STC_MODIFIED(CTL_SQLBOX,                    dlgRule::OnChangeStyled)
 END_EVENT_TABLE();
 
 
@@ -166,6 +166,12 @@
 
         EnableOK(enable);
     }
+}
+
+
+void dlgRule::OnChangeStyled(wxStyledTextEvent &ev)
+{
+    OnChange(ev);
 }