Re: Text color in wxEuphoria
- Posted by ghaberek (admin) Feb 09, 2009
- 917 views
DanM said...
I'm truly just guessing, but did you try:
set_font ( atom dc, atom font ) for the wxTextCtrl?
Don't know what "dc" is exactly, but it might be like the control Id in Win32Lib?
"dc" is the device context, and should only be used withing a drawing operation such as wxEVT_PAINT, or by creating DC manually with wxMemoryDC, etc. To use "set_font" outside of a drawing operation, see set_default_font().
-Greg