Initialize wxMemoryDC with a default font
This commit is contained in:
parent
e31938c314
commit
2508efdd6e
@ -70,6 +70,7 @@ void wxMemoryDCImpl::Init()
|
|||||||
{
|
{
|
||||||
SetBrush(*wxWHITE_BRUSH);
|
SetBrush(*wxWHITE_BRUSH);
|
||||||
SetPen(*wxBLACK_PEN);
|
SetPen(*wxBLACK_PEN);
|
||||||
|
SetFont(*wxNORMAL_FONT);
|
||||||
|
|
||||||
// the background mode is only used for text background and is set in
|
// the background mode is only used for text background and is set in
|
||||||
// DrawText() to OPAQUE as required, otherwise always TRANSPARENT
|
// DrawText() to OPAQUE as required, otherwise always TRANSPARENT
|
||||||
|
Loading…
Reference in New Issue
Block a user