1. test for thr_setconcurrency() added to configure

2. wxListCtrl headers always black
3. some warnings in dcpsg.cpp corrected
4. returning FALSE from OnPrintPage() should abort printing now


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-12-06 12:44:49 +00:00
parent ef8d96c29c
commit 70846f0a79
5 changed files with 158 additions and 96 deletions

View File

@@ -1292,8 +1292,8 @@ void wxPostScriptDC::DoDrawRotatedText( const wxString& text, wxCoord x, wxCoord
long by = y + (long)floor( double(size) * 2.0 / 3.0 ); // approximate baseline
// XXX only correct for 90 degrees
fprintf( m_pstream, "%ld %ld moveto\n", XLOG2DEV(x + size), YLOG2DEV(by) );
// FIXME only correct for 90 degrees
fprintf( m_pstream, "%d %d moveto\n", XLOG2DEV(x + size), YLOG2DEV(by) );
fprintf(m_pstream, "%.8f rotate\n", angle);
/* I don't know how to write char to a stream, so I use a mini string */
@@ -1336,15 +1336,15 @@ void wxPostScriptDC::DoDrawRotatedText( const wxString& text, wxCoord x, wxCoord
GetTextExtent(text, &w, &h);
fprintf( m_pstream,
"gsave\n"
"%ld %ld moveto\n"
"%ld setlinewidth\n"
"%ld %ld lineto\n"
"stroke\n"
"grestore\n",
XLOG2DEV(x), YLOG2DEV(uy),
(long)m_underlineThickness,
XLOG2DEV(x + w), YLOG2DEV(uy) );
"gsave\n"
"%d %d moveto\n"
"%ld setlinewidth\n"
"%d %d lineto\n"
"stroke\n"
"grestore\n",
XLOG2DEV(x), YLOG2DEV(uy),
(long)m_underlineThickness,
XLOG2DEV(x + w), YLOG2DEV(uy) );
}
CalcBoundingBox( x, y );