]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/drawing/drawing.cpp
Simplify wxFileNameFromPath() implementation to avoid redundancy.
[wxWidgets.git] / samples / drawing / drawing.cpp
index 80437e10b4639684b24c629e63cb196d9bd77493..d48e299dab2fcaafcf0a917e8fe5ed59479e2251 100644 (file)
@@ -789,6 +789,9 @@ void MyCanvas::DrawText(wxDC& dc)
     y += height;
     dc.DrawRectangle( 110, y, 100, height );
     dc.DrawText( wxT("Another visible text"), 110, y );
+
+    y += height;
+    dc.DrawText("And\nmore\ntext on\nmultiple\nlines", 110, y);
 }
 
 static const struct