[wx-dev] Re: CVS: [RR] wxWindows/src/gtk window.cpp, 1.641, 1.642

Vadim Zeitlin vadim at wxwindows.org
Sat Sep 2 04:25:38 PDT 2006


On Sat, 02 Sep 2006 11:28:18 +0200 Robert Roebling <robert at roebling.de> wrote:

RR> >  AFAICS GTKUpdateCursor() does nothing if the window is not realised
RR> 
RR> I know, but the question is if the cursor is set later in 
RR> that case.

 It should beset from OnInternalIdle() unless I'm missing something.

 BTW, I did read your comments about (re)setting the cursor during idle
time but it still looks to me like there should be a better way to do it.
Override the cursor all the time like this just doesn't seem right and it
also consumes a noticeable amount of CPU when you have a lot of controls.
If I understand the problem correctly, it should be enough to set anew the
cursor for all children when the parent cursor changes, shouldn't it?

 Thanks,
VZ





More information about the wx-dev mailing list