diff --git a/samples/printing/printing.cpp b/samples/printing/printing.cpp index 6d3f522447..b321fc73a6 100644 --- a/samples/printing/printing.cpp +++ b/samples/printing/printing.cpp @@ -162,6 +162,8 @@ void MyApp::Draw(wxDC&dc) dc.DrawText( wxT("Test message: this is in 10 point text"), 10, 180); + dc.DrawRotatedText( wxS("This\nis\na multi-line\ntext"), 170, 100, -m_angle/1.5); + #if wxUSE_UNICODE const char *test = "Hebrew שלום -- Japanese (日本語)"; wxString tmp = wxConvUTF8.cMB2WC( test ); @@ -249,6 +251,7 @@ void MyApp::Draw(wxDC&dc) delete gc; } #endif + }