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

Vadim Zeitlin vadim at wxwindows.org
Fri Sep 1 15:27:36 PDT 2006


On Fri, 01 Sep 2006 23:49:31 +0200 Robert Roebling <robert at roebling.de> wrote:

RR> > Why not call GTKUpdateCursor() from SetCursor() itself, do we
RR> > ever not want to do it?
RR> 
RR> If it is called from within the window's contructor, the
RR> actual call must be defered until after realization (we
RR> do that for other things already), but I don't have time
RR> to look at that now,

 AFAICS GTKUpdateCursor() does nothing if the window is not realised, so it
shouldn't be a problem to call it from ctor. So I've changed SetCursor() to
alway call GTKUpdateCursor(), please let me know if you see any problems
due to this.

 Thanks,
VZ





More information about the wx-dev mailing list