summaryrefslogtreecommitdiffstats
path: root/win/tkWinButton.c
Commit message (Collapse)AuthorAgeFilesLines
* (c) -> ©jan.nijtmans2020-12-091-1/+1
|
* Fix [220811] and [220808]: Docs missing for ↵jan.nijtmans2020-04-021-1/+1
| | | | Tk_TranslateWinEvent/Tk_PointerEvent API. Moved functions to tkWinInt.h as MODULE_SCOPE. (Stub entry still kept, as long as not -DTK_NO_DEPRECATED)
* Implement TIP #557: C++ support for Tcljan.nijtmans2020-02-281-4/+5
|\
| * WIP: Add support for C++jan.nijtmans2019-12-121-3/+4
|/
* Merge 8.6jan.nijtmans2019-09-241-4/+4
|\
| * Don't use "class" as (internal) struct field name or local variable name. ↵jan.nijtmans2019-09-241-4/+4
| | | | | | | | Make it "c_class" (just as X11 does as well), in order to prevent conflict with C++ compilers.
* | Merge 8.6. jan.nijtmans2019-09-231-4/+4
|\ \ | |/ | | Don't use TCL_Z_MODIFIER on Windows, because it only works when Tk 8.7 is compiled with Tcl 8.7, not with Tcl 8.6
| * Use more explicit *W()-forms of the Win32 API, instead of relying on -DUNICODEjan.nijtmans2019-09-231-4/+4
| |
* | Merge 8.6jan.nijtmans2019-09-201-1/+1
|\ \ | |/
| * One missing use of TCL_INDEX_NONE in stead of -1. jan.nijtmans2019-09-201-1/+1
| | | | | | Use some more type-casts, making compiling Tk less sensitive to the use of -DUNICODE or not.
* | Merge 8.6jan.nijtmans2019-09-191-4/+4
|\ \ | |/
| * *A() to *W() Win32 API changes, actually the same because Tk is already ↵jan.nijtmans2019-09-191-4/+4
| | | | | | | | compiled in UNICODE mode.
| * TCHAR -> WCHAR conversions, since our TCHAR is actually WCHAR when compiling ↵jan.nijtmans2019-09-161-4/+4
| | | | | | | | everything in UNICODE mode on Windows.
* | More removals of "register" keyword.jan.nijtmans2019-08-161-3/+3
| |
* | Use WCHAR in stead of TCHAR (almost) everywhere, since we now only support ↵jan.nijtmans2019-07-301-4/+4
| | | | | | | | compiling Tcl in UNICODE mode anyway.
* | Merge 8.6jan.nijtmans2019-07-021-1/+1
|\ \ | |/
| * Don't use "struct ThreadSpecificData", while the type name ↵jan.nijtmans2019-07-021-1/+1
| | | | | | | | "ThreadSpecificData" is already sufficient.
* | Fix bug [1001070]: make labels use -highlightbackgroundculler2019-04-241-5/+15
|\ \ | |/
| * *Really* don't change the behavior for *buttons, even with they have ↵fvogel2019-03-311-3/+4
| | | | | | | | -default active
| * Restore behavior of checkbuttons and radiobuttons on Windows. They again do ↵fvogel2019-03-311-2/+5
| | | | | | | | not take -highlightbackground into account, in an attempt to follow platform specific conventions. The code now only changes this for labels.
| * Make labels, checkbuttons and radiobuttons honor -highlightbackground and ↵fvogel2019-03-311-5/+11
| | | | | | | | -highlightcolor options on Windows.
* | Merge 8.6jan.nijtmans2019-01-101-1/+1
|\ \ | |/
| *-. Merge 8.6 and all changes from original [bug-9e31fd9449] branchjan.nijtmans2019-01-081-7/+8
| |\ \
| | | * Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵jan.nijtmans2019-01-081-1/+1
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | Windows.h have conflicting symbols. *** POTENTIAL INCOMPATIBILITY *** on Windows only: gcc/clang/MSVC will generate new warnings in extensions when the "None" symbol is used incorrectly. Those warnings are all fixed in the core, that's what most of this commit is doing.
| | | | * Bring back more original "None" usages, and fix other warnings which ↵jan.nijtmans2019-01-031-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | gradually slipped in. Wherever possible, pragma's are used in MSVC to silence useless compiler warnings.
| * | | | Fix [9e31fd9449]: X11/X.h and Windows.h have conflicting symbols jan.nijtmans2018-12-201-3/+3
| |\ \ \ \ | | | |_|/ | | |/| | *** POTENTIAL INCOMPATIBILITY *** for Win32 only: On X11 and Mac, "None" can still be used as before
| | * | | Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵jan.nijtmans2018-12-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Windows.h have conflicting symbols. Also fix a few newer (harmless) gcc warnings.
* | | | | Merge 8.6jan.nijtmans2019-01-041-4/+5
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge 8.5jan.nijtmans2019-01-041-4/+5
| |\ \ \ \ | | |/ / / | |/| | / | | | |/ | | |/|
| | * | Fix a few minor compiler warnings, occurring in later gcc/clang versions.jan.nijtmans2019-01-041-4/+5
| | |/
* | | Eliminate USE_OLD_TAG_SEARCH: It isn't used and tested any more.jan.nijtmans2018-12-081-5/+5
|/ / | | | | Eliminate a ton of unnecessary type casts
* | Fix [9e487e9f158b3aeda2b92ca75deb3abc04e21a61|9e487e9f15]: Fix for ↵jan.nijtmans2014-10-111-13/+21
|\ \ | |/ | | | | tkWinButton to avoid problems in plugin
| * Fix [9e487e9f158b3aeda2b92ca75deb3abc04e21a61|9e487e9f15]: Fix for ↵jan.nijtmans2014-10-111-13/+21
| |\ | | | | | | | | | tkWinButton to avoid problems in plugin
| | * Ticket [9e487e9f15]: Fix for tkWinButton to avoid problems in pluginjan.nijtmans2014-10-011-12/+20
| |/
| * Backport of ::tk::mac::useCompatibilityMetrics handling and scrollbar ↵jan.nijtmans2012-10-231-5/+2
| | | | | | | | metrics handling from trunk
| * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-131-0/+1
| |\
* | \ Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * [Bug 2956548] TkpButtonSetDefaults only initializes one button typenijtmans2010-03-121-66/+15
| | | | | | | | | | | | Fix 2 minor gcc warnings in tkWinTest.c
| | * Fix for [Bug 1739613]Joe Mistachkin2009-11-021-2/+40
| | |
| | * (TkpDisplayButton): lint init. [Bug 1618604]hobbs2006-12-191-2/+2
| | |
| | * correct imageYOffset for buttons with just imageshobbs2003-10-101-4/+4
| | |
| | * * generic/tkButton.h: Rewrote the handlinghobbs2003-04-261-31/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkButton.c (TkButtonWorldChanged): of compound *buttons * mac/tkMacButton.c (TkpDisplayButton): to correctly display * macosx/tkMacOSXButton.c (TkpDisplayButton): mixture of disabledfg, * unix/tkUnixButton.c (TkpDisplayButton): selectcolor, indicator, * win/tkWinButton.c (TkpDisplayButton): etc. *buttons will now only stipple the image, unless no disabledfg is given, in which case it will stipple the whole button.
| | * * unix/tkUnixButton.c (TkpDisplayButton): Use the normalTextGc whenhobbs2003-04-251-9/+12
| | | | | | | | | | | | | | | | | | * win/tkWinButton.c (TkpDisplayButton): displaying disabled text that have images, as they get a gray50 stipple as well and the disabledGc is not set up correctly for font drawing. [Bug #477740]
| * | [Bug 2956548] TkpButtonSetDefaults only initializes one button typenijtmans2010-03-121-55/+4
| | | | | | | | | | | | | | | Fix various gcc warnings, all backported from Tk 8.6 VC6++ does not have SPI_SETKEYBOARDCUES
| * | Fix for [Bug 1739613]Joe Mistachkin2009-11-021-2/+40
| | |
| * | [Bug 2860827] Backported patch avoiding 3D effects with user-specified ↵patthoyts2009-10-051-9/+13
| | | | | | | | | | | | backgrounds
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-2/+2
| | | | | | | | | using useful casts internally.
* | | Fix various 64-bit gcc(-4.5.2) warnings: cast from pointer to integer of ↵nijtmans2010-11-291-3/+3
| | | | | | | | | | | | different size