git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15589
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
long xx = XLOG2DEVMAC(x);
long yy = YLOG2DEVMAC(y);
long xx = XLOG2DEVMAC(x);
long yy = YLOG2DEVMAC(y);
bool useDrawThemeText = ( DrawThemeTextBox != (void*) kUnresolvedCFragSymbolAddress ) ;
bool useDrawThemeText = ( DrawThemeTextBox != (void*) kUnresolvedCFragSymbolAddress ) ;
MacInstallFont() ;
if ( 0 )
{
MacInstallFont() ;
if ( 0 )
{
FontInfo fi ;
::GetFontInfo( &fi ) ;
FontInfo fi ;
::GetFontInfo( &fi ) ;
yy += fi.ascent ;
::MoveTo( xx , yy );
yy += fi.ascent ;
::MoveTo( xx , yy );
{
if( text[i] == 13 || text[i] == 10)
{
{
if( text[i] == 13 || text[i] == 10)
{
if ( useDrawThemeText )
{
Rect frame = { yy + line*(fi.descent + fi.ascent + fi.leading) ,xx , yy + (line+1)*(fi.descent + fi.ascent + fi.leading) , xx + 1000 } ;
if ( useDrawThemeText )
{
Rect frame = { yy + line*(fi.descent + fi.ascent + fi.leading) ,xx , yy + (line+1)*(fi.descent + fi.ascent + fi.leading) , xx + 1000 } ;
{
::DrawText( text , laststop , i - laststop ) ;
line++ ;
{
::DrawText( text , laststop , i - laststop ) ;
line++ ;
if ( useDrawThemeText )
{
Rect frame = { yy + line*(fi.descent + fi.ascent + fi.leading) ,xx , yy + (line+1)*(fi.descent + fi.ascent + fi.leading) , xx + 1000 } ;
if ( useDrawThemeText )
{
Rect frame = { yy + line*(fi.descent + fi.ascent + fi.leading) ,xx , yy + (line+1)*(fi.descent + fi.ascent + fi.leading) , xx + 1000 } ;
CFRelease( mString ) ;
}
else
CFRelease( mString ) ;
}
else
{
::DrawText( text , laststop , i - laststop ) ;
}
{
::DrawText( text , laststop , i - laststop ) ;
}
long xx = XLOG2DEVMAC(x);
long yy = YLOG2DEVMAC(y);
long xx = XLOG2DEVMAC(x);
long yy = YLOG2DEVMAC(y);
bool useDrawThemeText = ( DrawThemeTextBox != (void*) kUnresolvedCFragSymbolAddress ) ;
bool useDrawThemeText = ( DrawThemeTextBox != (void*) kUnresolvedCFragSymbolAddress ) ;
MacInstallFont() ;
if ( 0 )
{
MacInstallFont() ;
if ( 0 )
{
FontInfo fi ;
::GetFontInfo( &fi ) ;
FontInfo fi ;
::GetFontInfo( &fi ) ;
yy += fi.ascent ;
::MoveTo( xx , yy );
yy += fi.ascent ;
::MoveTo( xx , yy );
{
if( text[i] == 13 || text[i] == 10)
{
{
if( text[i] == 13 || text[i] == 10)
{
if ( useDrawThemeText )
{
Rect frame = { yy + line*(fi.descent + fi.ascent + fi.leading) ,xx , yy + (line+1)*(fi.descent + fi.ascent + fi.leading) , xx + 1000 } ;
if ( useDrawThemeText )
{
Rect frame = { yy + line*(fi.descent + fi.ascent + fi.leading) ,xx , yy + (line+1)*(fi.descent + fi.ascent + fi.leading) , xx + 1000 } ;
{
::DrawText( text , laststop , i - laststop ) ;
line++ ;
{
::DrawText( text , laststop , i - laststop ) ;
line++ ;
if ( useDrawThemeText )
{
Rect frame = { yy + line*(fi.descent + fi.ascent + fi.leading) ,xx , yy + (line+1)*(fi.descent + fi.ascent + fi.leading) , xx + 1000 } ;
if ( useDrawThemeText )
{
Rect frame = { yy + line*(fi.descent + fi.ascent + fi.leading) ,xx , yy + (line+1)*(fi.descent + fi.ascent + fi.leading) , xx + 1000 } ;
CFRelease( mString ) ;
}
else
CFRelease( mString ) ;
}
else
{
::DrawText( text , laststop , i - laststop ) ;
}
{
::DrawText( text , laststop , i - laststop ) ;
}