Use wxTRANSPARENT_BRUSH so the rectangles around the text is not
filled in. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c145a47c6e
commit
1db4e8dd8d
@ -495,7 +495,7 @@ void MyPrintout::DrawPageTwo(wxDC *dc)
|
||||
dc->DrawLine(50, 250, 50, (long)(250.0 + logUnits));
|
||||
|
||||
dc->SetBackgroundMode(wxTRANSPARENT);
|
||||
|
||||
dc->SetBrush(*wxTRANSPARENT_BRUSH);
|
||||
|
||||
{ // GetTextExtent demo:
|
||||
wxString words[7] = {_T("This "), _T("is "), _T("GetTextExtent "), _T("testing "), _T("string. "), _T("Enjoy "), _T("it!")};
|
||||
|
Loading…
Reference in New Issue
Block a user