Page 1 of 1

wxTextCtrl

Posted: Thu Mar 05, 2009 9:50 pm
by Progger
Hi,
I'm looking for an option to paint the whole line of a wxTextCtrl into some backgrond colour. Is this possible at all?
I haven't found this feature in the manual: http://docs.wxwidgets.org/stable/wx_wxt ... wxtextctrl

cu

Posted: Thu Mar 05, 2009 11:01 pm
by Auria
I don't think it's possible with a regular text control; what precisely are you trying to achieve? If it's some kind of code editor, wxSTC or wxScintilla would do better

Posted: Fri Mar 06, 2009 9:55 am
by bigpilot
I agree with Auria. You need a wxRichTextControl or wxSTC.

Posted: Fri Mar 06, 2009 1:21 pm
by Progger
Thanks a lot!
I'll try it out :wink:

Posted: Fri Mar 06, 2009 2:29 pm
by computerquip
>.> The point of the acceptance system is to give the Accepted answer the status of Accepted Answer. Not to yourself! (lmfao)