added modeless dlg test to dialogs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-01-30 01:33:02 +00:00
parent b6c588e1a6
commit 4c45f240f6
5 changed files with 95 additions and 180 deletions

View File

@@ -585,7 +585,9 @@ void MyCanvas::DrawDefault(wxDC& dc)
memdc.DrawLine( 10,0,10,70 );
// to the right
memdc.SetPen(*wxRED_PEN);
wxPen pen = *wxRED_PEN;
pen.SetWidth(2);
memdc.SetPen(pen);
memdc.DrawLine( 10, 5,10, 5 );
memdc.DrawLine( 10,10,11,10 );
memdc.DrawLine( 10,15,12,15 );