diff options
author | Kevin Walzer <kw@codebykevin.com> | 2019-04-30 11:40:13 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2019-04-30 11:40:13 (GMT) |
commit | 22119027ff83c020947fe6d3a875bfb29d61ded7 (patch) | |
tree | ebe929d4187f3895cca5ae2af72be85db4ffd931 /macosx/tkMacOSXServices.c | |
parent | a8c34c498bbbe9857df1594751173a188287241c (diff) | |
download | tk-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/tkMacOSXServices.c')
-rw-r--r-- | macosx/tkMacOSXServices.c | 2 |
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)); |