| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
TkWinHandleMenuEvent, DrawMenuEntryArrow):
Fix drawing of a disabled cascade menu
arrow. Tk was displaying a disabled cascade
menu arrow in black instead of gray. This
was caused by a bug in the Win32 code for
user drawn menu items. The fix is to avoid
telling Windows that the menu item is a
cascade type and then draw the gray arrow
bitmap on our own.
[Patch 865842]
|
|
|
|
|
|
|
|
|
|
| |
Fix a strange Win32 bug where the logical
coordinates returned by a call to DPtoLP
are wrong the first time a menu is posted.
This bug manifested itself by drawing the
bitmap in the wrong place in a menu.
The fix was to pass the newly created DC
instead of the DC from the window.
|
|
|
|
|
|
|
|
|
| |
DrawMenuEntryLabel): When drawing the label
text and accelerator text for a disabled
menu entry be sure to draw a 3D highlight.
The only exception to this is when a
disabled menu entry is highlighted, in that
case do not draw a 3D hightlight.
|
|
|
|
|
|
|
|
| |
DrawMenuEntryArrow): Move the unused menu
arrow drawing code in DrawMenuEntryAccelerator
into a new function named DrawMenuEntryArrow.
This makes no functional change but it will
make it easier to fix things in the future.
|
|
|
|
|
|
| |
blocks in place of __try and __except statements
to support gcc builds. This is needed after
David's changes on 2003-12-21. [Tcl patch 858493]
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkInt.h: TkDeleteExitHandler, and TkFinalize. This adds
* generic/tkMenu.c: an insertion point so Tk's exit handlers can be
* generic/tkWindow.c: called on their own from tk85.dll's DllMain
* mac/tkMacButton.c: for DLL_PROCESS_DETACH. These are private to
* unix/tkUnixEvent.c: the binary and not exported. It is possible
* win/tkWin32Dll.c: the Windows OS can unload Tk _prior_ to Tcl
* win/tkWinEmbed.c: under some conditions such as ExitProcess().
* win/tkWinMenu.c: This avoids a dangling pointer problem when Tcl
* win/tkWinX.c: does Tcl_Finalize after Tk has been unloaded.
* win/winMain.c: DllMain's DLL_PROCESS_DETACH now protected with
SEH as DeleteWindowsExitProc is causing an
exception of its own under some teardown
conditions. AT&T assembly syntax has not been
added for MinGW yet. [Tcl Patch 858493]
|
|
|
|
| |
(fixes: #231251)
|
|
|
|
|
| |
strict format for the version value. 8.5.a0 or 8.5.0 results in an
unloadable executable -- must be 4 numbers.
|
|
|
|
| |
and disabled the send package until bug #858822 is resolved.
|
| |
|
| |
|
|
|
|
|
|
| |
menubar when a menubar exists. Although the invalid handle
doesn't cause an exception, it was discovered with NuMega's
BoundsChecker.
|
| |
|
|
|
|
| |
[event generate].
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* unix/tcl.m4: updated OpenBSD build configuration based on
[Patch #775246] (cassoff)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
while interp is being destroyed.
|
|
|
|
| |
the event is not ignored any more
|
| |
|
| |
|
|
|
|
| |
for many years now...
|
| |
|
| |
|
|
|
|
|
|
|
| |
* macosx/tkMacOSXScrlbr.c: Reworking Vince's fix to [Bug 842952]. This
version is clearer, and works helps keep the mouse better pinned to the
scrollbar. I also removed the glitch where the scrollbar would jump get
its middle over the mouse when you first moved it.
|
|
|
|
|
|
|
|
| |
* tests/image.test: where Tk has been [load]ed, there's no
* tests/select.test: guarantee that child processes created by
* tests/unixWm.test: [exec [interpreter]] will have Tk in them.
* tests/window.test: Made modifications to force a [load] of Tk
in those situations.
|
|
|
|
|
|
| |
* generic/tkMenubutton.c: *button corrections of 2003-04-25.
* mac/tkMacMenubutton.c (TkpDisplayMenuButton):
* unix/tkUnixMenubu.c (TkpDisplayMenuButton):
|
|
|
|
|
|
|
| |
with that generated by Makefile.
Let's discuss whether there's really need for a change, and if so,
let's make it consistently in all Makefiles.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also a bit of whitespace/style police work. [Bug 837300]
|