Displaying a wxCaret in a wxTextCtrl control
Posted: Tue Feb 06, 2007 10:39 am
I'd like to show a caret in a wxMemo control, like it's shown in Caret sample included in wxWidgets "Examples" folder; but that uses the caret into a wxScrolledWindow ctrl.
Nothing happens, i see just the normal editor cursor... suggestions ?
Code: Select all
wxCaret *caret = new wxCaret(this, 6, 10); SetCaret(caret); caret->SetBlinkTime(250); caret->Move(1, 1); caret->Show();