- dc.DrawLine(400, 160, 400, 210);
- dc.DrawLine(300, 200, 410, 200);
-
- // test the rectangle outline drawing - there should be one pixel between
+ dc.DrawLine(400, 170, 400, 210);
+ dc.DrawLine(300, 200, 410, 200);
+
+ // and now for filled rect with outline
+ dc.SetPen(*wxRED_PEN);
+ dc.SetBrush( *wxWHITE_BRUSH );
+ dc.DrawRectangle(500, 170, 49, 29);
+ dc.DrawRectangle(550, 170, 49, 29);
+ dc.SetPen(*wxWHITE_PEN);
+ dc.DrawLine(600, 170, 600, 210);
+ dc.DrawLine(500, 200, 610, 200);
+
+ // test the rectangle outline drawing - there should be one pixel between