From 1db4e8dd8dc92a55779d4dd477dfd22afccd2b7b Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 29 Jan 2005 01:04:54 +0000 Subject: [PATCH] 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 --- samples/printing/printing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/printing/printing.cpp b/samples/printing/printing.cpp index 85650fe182..e6fda218b2 100644 --- a/samples/printing/printing.cpp +++ b/samples/printing/printing.cpp @@ -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!")};