Tk Source Code

Check-in [ae6413cc]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Malformed comment.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-5-branch
Files: files | file ages | folders
SHA1: ae6413cc868a9056b5adf0b3a3d8c9192c0e524c
User & Date: dgp 2015-02-20 21:29:23
Context
2015-02-22
18:03
Fix for CGRect/NSRect confusion check-in: 004b3b28 user: kevin_walzer tags: core-8-5-branch
2015-02-20
22:35
malformed comment check-in: 1156673c user: dgp tags: trunk
21:29
Malformed comment. check-in: ae6413cc user: dgp tags: core-8-5-branch
2015-02-19
21:27
Fix build problem on OSX check-in: 1c4be30c user: jan.nijtmans tags: core-8-5-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to macosx/tkMacOSXButton.c.

424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
    width += butPtr->inset*2;
    height += butPtr->inset*2;

    Tk_GeometryRequest(butPtr->tkwin, width, height);
    Tk_SetInternalBorder(butPtr->tkwin, butPtr->inset);
}

/*
/*
 *----------------------------------------------------------------------
 *
 * DrawButtonImageAndText --
 *
 *        Draws the image and text associated with a button or label.
 *






<







424
425
426
427
428
429
430

431
432
433
434
435
436
437
    width += butPtr->inset*2;
    height += butPtr->inset*2;

    Tk_GeometryRequest(butPtr->tkwin, width, height);
    Tk_SetInternalBorder(butPtr->tkwin, butPtr->inset);
}


/*
 *----------------------------------------------------------------------
 *
 * DrawButtonImageAndText --
 *
 *        Draws the image and text associated with a button or label.
 *