hi,
I've searched through the docs, but I couldn't find the way to change
font in the wxLogWindow. I would like to show log messages in different font than default one.Is it possible?
thanx,
fantaz
wxLogWindow font Topic is solved
-
- Earned some good credits
- Posts: 120
- Joined: Sun Aug 29, 2004 3:09 pm
- Location: Grenoble, France
- Contact:
From the wxLogWindow, you can retrieve the wxFrame associated with it and probably retrieve the control displaying the log.
http://www.wxwidgets.org/manuals/2.6.3/ ... owgetframe
http://www.wxwidgets.org/manuals/2.6.3/ ... owgetframe
What is little and green, witch go up and down ??
Yoda playing with the force.
Yoda playing with the force.
-
- Earned some good credits
- Posts: 120
- Joined: Sun Aug 29, 2004 3:09 pm
- Location: Grenoble, France
- Contact:
Yes, in effect, the wxLogWindow::GetFrame return a frame whitch embed a wxTextCtrl to display the log.
As the wxLogFrame class is private (only for implementation), you can list all children of the wxLogWindow's frame to find it.
When you have a pointer to the wxTextCtrl, you just have to work with text style.
Good code.
As the wxLogFrame class is private (only for implementation), you can list all children of the wxLogWindow's frame to find it.
When you have a pointer to the wxTextCtrl, you just have to work with text style.
Good code.
What is little and green, witch go up and down ??
Yoda playing with the force.
Yoda playing with the force.