Hi IOhannes,
I tried your patch as following :
% git diff tcl/pdtk_canvas.tcl
diff --git a/tcl/pdtk_canvas.tcl b/tcl/pdtk_canvas.tcl
index b4be07b3..3d1930fa 100644
--- a/tcl/pdtk_canvas.tcl
+++ b/tcl/pdtk_canvas.tcl
@@ -117,7 +117,8 @@ proc pdtk_canvas_new {mytoplevel width height geometry editable} {
canvas $tkcanvas -width $width -height $height \
-highlightthickness 0 -scrollregion [list 0 0 $width $height] \
-xscrollcommand "$mytoplevel.xscroll set" \
- -yscrollcommand "$mytoplevel.yscroll set"
+ -yscrollcommand "$mytoplevel.yscroll set" \
+ -background white
scrollbar $mytoplevel.xscroll -orient horizontal -command "$tkcanvas xview"
scrollbar $mytoplevel.yscroll -orient vertical -command "$tkcanvas yview"
pack $tkcanvas -side left -expand 1 -fill both
% make clean
% make -j16
% mac/osx-app.sh 0.51-0patched
but got the same result : transparent patcher window (without title bar because I didn't override Wish)
cheers