Re: Re: Tcl/Tk 8.4.12 for WinCE ARM binaries availa ble

Jeff Hobbs <jeff-2ke/W+B1M/[email protected]> Thu, 12 Jan 2006 08:27:31 -0800
Newsgroups gmane.comp.windows.ce.freeware
Organization ActiveState
Message-ID <[email protected]>
Johannes Hausmann wrote:
> Konovalov, Vadim wrote:
> Agreed, there are <Leave> events that produce the anomalous behavior. I 
> found a solution (in the C code), too - but I'm pretty sure it's not the 
> right way to do it. Anyway, here's what I did:
> 
> In generic/tkPointer.c, function Tk_UpdatePointer(tkwin, x, y, state) in 
> line 267, there's a call to GenerateEnterLeave(...). If you comment that 
> out, e.g. #if !defined(UNDER_CE) ...GenerateEnterLeave... #endif, the 
> button command works correctly, including autorepeat.
> 
> Unluckily, this does not solve the problem with the spinbox buttons for 
> which I haven't found a solution.

OK, I'll look at that and see what sort of C comments and such
might indicate its purpose.

>> BTW which source was used for diff files within tcltk8_4_12_ce-arm archive?
>> Those do not cleanly apply to 8.4.12
>>
> The code patches okay vs. tcl/tk 8.4.12 sources but the configure and 
> tcl.m4 are rejected. I simply took those from the 8.5a3 sources and 

I made the Win/CE release slightly before the official 8.4.12
release, and then I added Windows x64 build support to tcl.m4,
which causes the rejections.  The tcl.m4 patch shouldn't be
that far off though, and then you just regen configure.

-- 
   Jeff Hobbs, The Tcl Guy
   http://www.ActiveState.com/, a division of Sophos