summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2019-04-30 11:40:13 (GMT)
committerKevin Walzer <kw@codebykevin.com>2019-04-30 11:40:13 (GMT)
commit22119027ff83c020947fe6d3a875bfb29d61ded7 (patch)
treeebe929d4187f3895cca5ae2af72be85db4ffd931 /macosx
parenta8c34c498bbbe9857df1594751173a188287241c (diff)
downloadtk-22119027ff83c020947fe6d3a875bfb29d61ded7.zip
tk-22119027ff83c020947fe6d3a875bfb29d61ded7.tar.gz
tk-22119027ff83c020947fe6d3a875bfb29d61ded7.tar.bz2
Automatically bind text, entry, ttk::entry widgets to Services API at widget creation/mapping; re-work data mechanism to use selection rather than clipboard API, thanks to Marc Culler for that insight
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXServices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXServices.c b/macosx/tkMacOSXServices.c
index 1ce3c90..ade4747 100644
--- a/macosx/tkMacOSXServices.c
+++ b/macosx/tkMacOSXServices.c
@@ -97,7 +97,7 @@ int ServicesEventProc(
return NO;
}
- Tcl_Eval(ServicesInterp,"clipboard get");
+ Tcl_Eval(ServicesInterp,"selection get");
char *copystring;
copystring = Tcl_GetString(Tcl_GetObjResult(ServicesInterp));