Posted to tcl by emiliano at Fri Jun 27 15:51:49 GMT 2008view raw

  1. --- tkPanedWindow.c.orig 2008-06-27 12:44:02.000000000 -0300
  2. +++ tkPanedWindow.c 2008-06-27 12:48:36.000000000 -0300
  3. @@ -2736,6 +2736,17 @@
  4. }
  5.  
  6. /*
  7. + * Workaround for bug 1639824
  8. + */
  9. +
  10. + if (sashWidth < 1) {
  11. + sashWidth = 1;
  12. + }
  13. + if (sashHeight < 1) {
  14. + sashHeight = 1;
  15. + }
  16. +
  17. + /*
  18. * Stash the proxy coordinates for future "proxy coord" calls.
  19. */
  20.