[wxPython-users] wx.RichTextCtrl cursor
Robin Dunn
robin at alldunn.com
Wed Sep 5 15:28:19 PDT 2007
Steve Holden wrote:
> I am told (by a client: my Linux system is still in storage) that on
> some platforms the cursor refuses to disappear from the RichtextCtrl
> even when it loses focus.
>
> This was very disappointing as I had written a chunk of code to
> demonstrate that (on Windows, which *is* available to me) the cursor
> disappears from the control when focus is taken away.
>
> I attach the code, which on Windows makes the cursor disappear every
> time the timer ticks.
>
> Can anyone tell me a way to remove the cursor programmatically from the
> control even on platforms where this program doesn't do so?
Probably because Frames can't have focus on wxGTK or wxMac. Try it with
some other widget in the app getting the focus.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list