[wx-dev] Re: CVS: [RR] wxWindows/src/gtk window.cpp,1.641,1.642
Robert Roebling
robert at roebling.de
Sat Sep 2 05:25:02 PDT 2006
> RR> I have written that code years ago and back then, just setting
> RR> the cursor for a window didn't work because its child windows
> RR> somehow inherited the cursor, if I remember correctly. I would
> RR> welcome a change that would make the idle code superfluous.
>
> AFAIK understand, GdkWindow without specific cursor (i.e. with NULL
> GdkCursor) inherits the parents cursor. So whenever the parent window
> cursor is set, we must also set wxSTANDARD_CURSOR for all child windows
> which have no cursor of their own. Is there anything more to it?
Maybe not. Note that you'd need to iterate over GdkWindows, not
GtkWidgets or wxWindows as I understand it, but testing will
show more...
Robert
More information about the wx-dev
mailing list