| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
* win/tkWinMenu.c (TkWinHandleMenuEvent): torn off Windows menu.
[Bug 873613]
(DrawMenuEntryArrow): Draw Win menu arrow after being torn
off. [Bug 873608]
|
| |
| |
| |
| |
| | |
allow for unicode char menu indices and not use CharUpper on Tcl
utf strings. [Bug #1734223]
|
| |
| |
| |
| | |
* tests/menu.test (menu-36.1): [Bug 1599877]
|
| |
| |
| |
| | |
handle unichar underlining correctly and safely. [Bug 1599877]
|
| |
| |
| |
| | |
with images to avoid clipping bug. [Bug 1329198]
|
| |
| |
| |
| |
| |
| | |
(MenuThreadExitHandler, TkpMenuInit, TkpMenuThreadInit): rework
Windows menu init/finalization to better respect per-process and
per-thread boundaries.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tkMenu.c: dating from 2003-12-21
* generic/tkUtil.c:
* generic/tkWindow.c:
* mac/tkMacButton.c:
* unix/tkUnixEvent.c:
* win/tkWin32Dll.c:
* win/tkWinEmbed.c:
* win/tkWinMenu.c:
* win/tkWinX.c:
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It is only defined under Win32.
* generic/tkIntPlatDecls.h: Regen.
* generic/tkStubInit.c: Regen.
* win/tkWinInt.h: Define TK_THEME_WIN_CLASSIC and
TK_THEME_WIN_XP.
* win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel):
Draw a disabled 3D text highlight for the accelerator only
with the Win95/98 look. Same goes for the menu entry text.
* win/tkWinX.c (TkWinGetPlatformId, TkWinGetPlatformTheme):
Automatically detect the Windows theme in use and return
either TK_THEME_WIN_CLASSIC or TK_THEME_WIN_XP when the
TkWinGetPlatformTheme function is invoked.
[Patch 866194]
* win/tkWinMenu.c: only provide a submenu handle when the
MF_POPUP flag is given, fixing a recently-introduced crash
when submenus are disabled. Also better error checking for
this sort of situation in the future.
* win/tkWinMenu.c (ReconfigureWindowsMenu): Fix drawing of a disabled
(TkWinHandleMenuEvent, DrawMenuEntryArrow): 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]
* win/tkWinMenu.c (DrawWindowsSystemBitmap): 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.
* win/tkWinMenu.c (DrawMenuEntryAccelerator):
(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.
* win/tkWinMenu.c (DrawMenuEntryAccelerator, 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.
|
| |
| |
| |
| |
| | |
images of compound menu entries in indicator space if not a radio
of checkbutton. [Bug #756952] (eserte)
|
| |
| |
| |
| |
| | |
* win/tkWinInt.h (TkWinProcs): titles. [Bug #904371] (riefenstahl)
* win/tkWinMenu.c (ReconfigureWindowsMenu):
|
| |
| |
| |
| |
| | |
Fix various gcc warnings, all backported from Tk 8.6
VC6++ does not have SPI_SETKEYBOARDCUES
|
| |
| |
| |
| | |
Backported this patch from HEAD (kovalenko, thoyts)
|
| |
| |
| |
| | |
Applied patch from [Bug 2879927].
|
| |
| |
| |
| |
| |
| |
| | |
* win/tkWinMenu.c (TkWinHandleMenuEvent): torn off Windows menu.
[Bug 873613]
(DrawMenuEntryArrow): Draw Win menu arrow after being torn
off. [Bug 873608]
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
allow for unicode char menu indices and not use CharUpper on Tcl
utf strings. [Bug #1734223]
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
* tests/menu.test (menu-36.1): [Bug 1599877]
|
| |
| |
| |
| | |
handle unichar underlining correctly and safely. [Bug 1599877]
|
| |
| |
| |
| | |
with images to avoid clipping bug. [Bug 1329198]
|
| |
| |
| |
| | |
the window is still alive. [AS bug 45987] [Bug 1236306]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
call that caused finalization panic. [Bug 1456851]
* win/tkWinMenu.c (FreeID, TkpNewMenu, MenuExitHandler)
(MenuThreadExitHandler, TkpMenuInit, TkpMenuThreadInit): rework
Windows menu init/finalization to better respect per-process and
per-thread boundaries. [Bug 1456851]
(TkWinMenuKeyObjCmd): Do not error when unknown window is passed
in. [Bug 1236306]
|
| | |
|
| |
| |
| |
| |
| | |
Also start removing _ANSI_ARGS_; the core's required ANSI C for a while now
Also fix [Bug 1252702]; size_t doesn't mix with Tcl_GetStringFromObj
|
| | |
|
| |
| |
| |
| | |
caused an access violation in an embedded menu testing when the mouse clicked the last pull-down menu entry
|
| |
| |
| |
| | |
WM_MENUSELECT message
|
| | |
|
| | |
|
| |
| |
| |
| | |
toplevel when created with a menu (bug# 1098625)
|
| |
| |
| |
| | |
popup menu window's handler; improved an embedded menu display in Windows/XP
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It is only defined under Win32.
* generic/tkIntPlatDecls.h: Regen.
* generic/tkStubInit.c: Regen.
* win/tkWinInt.h: Define TK_THEME_WIN_CLASSIC and
TK_THEME_WIN_XP.
* win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel):
Draw a disabled 3D text highlight for the accelerator only
with the Win95/98 look. Same goes for the menu entry text.
* win/tkWinX.c (TkWinGetPlatformId, TkWinGetPlatformTheme):
Automatically detect the Windows theme in use and return
either TK_THEME_WIN_CLASSIC or TK_THEME_WIN_XP when the
TkWinGetPlatformTheme function is invoked.
[Patch 866194]
|
| | |
|
| |
| |
| |
| | |
* win/tkWinMenu.c: appropriate spots.
|
| |
| |
| |
| |
| | |
images of compound menu entries in indicator space if not a radio
of checkbutton. [Bug #756952] (eserte)
|
| |
| |
| |
| |
| | |
* win/tkWinInt.h (TkWinProcs): titles. [Bug #904371] (riefenstahl)
* win/tkWinMenu.c (ReconfigureWindowsMenu):
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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]
|