From: Mark D. <mar...@zn...> - 2007-03-27 22:29:34
|
Vaughn Staples wrote: > Mark, > > Excellent ... found it. > > Next question ... I have found that when setting the cursor style as > shown below, the cursor does not change until I click down on the > canvas. Then it works fine. Is there something that I can invoke to > change it immediately without forcing the LMB click? > > $self->SetCursor( Wx::Cursor->new( wxCURSOR_ARROW ) ); > Hi Vaughn. Example now including cursor code at http://www.wxperl.co.uk/example4.pl.txt Cursor is set at lines 64,94 and 109. It seems to work as expected. Are you,perhaps, not following where exactly you are setting the cursor? wxCURSOR_ARROW is the default cursor, so it may not be apparant from a visual check that it has been set? Regards Mark |