Difference in caret style in wxRichTextCtrl and wxTextCtrl
Posted: Wed Sep 29, 2010 1:34 pm
Hi,
On wxMSW the caret on wxRichTextCtrl has 2px width while on wxTextCtrl it has 1px width. I want to have the caret 1px in width on wRichTextCtrl as well so I tried:
but without success.
On wxMSW the caret on wxRichTextCtrl has 2px width while on wxTextCtrl it has 1px width. I want to have the caret 1px in width on wRichTextCtrl as well so I tried:
Code: Select all
richTextCtrl->GetCaret()->SetSize(1,richTextCtrl->GetCaret()->GetSize().GetHeight() ) ;
//or
wxCaret * caret = new wxCaret(richTextCtrl,0,10);