]> git.saurik.com Git - wxWidgets.git/commitdiff
Use wxTRANSPARENT_BRUSH so the rectangles around the text is not
authorRobin Dunn <robin@alldunn.com>
Sat, 29 Jan 2005 01:04:54 +0000 (01:04 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 29 Jan 2005 01:04:54 +0000 (01:04 +0000)
filled in.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/printing/printing.cpp

index 85650fe18293f4e81d320cfb797baab1263fd675..e6fda218b285bae7247b2f2418bafdb42cdba319 100644 (file)
@@ -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!")};