git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15598
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#endif
{
wxMacPortStateHelper help( (GrafPtr) GetWindowPort( m_window ) );
#endif
{
wxMacPortStateHelper help( (GrafPtr) GetWindowPort( m_window ) );
bool useDrawThemeText = ( DrawThemeTextBox != (void*) kUnresolvedCFragSymbolAddress ) ;
bool useDrawThemeText = ( DrawThemeTextBox != (void*) kUnresolvedCFragSymbolAddress ) ;
m_shown = true ;
FontFamilyID fontId ;
m_shown = true ;
FontFamilyID fontId ;
m_rect.left = m_position.x + kTipOffset;
m_rect.top = m_position.y + kTipOffset;
m_rect.right = m_rect.left + width + 2 * kTipBorder;
m_rect.left = m_position.x + kTipOffset;
m_rect.top = m_position.y + kTipOffset;
m_rect.right = m_rect.left + width + 2 * kTipBorder;
if ( useDrawThemeText )
m_rect.right += kTipBorder ;
if ( useDrawThemeText )
m_rect.right += kTipBorder ;
m_rect.bottom = m_rect.top + height + 2 * kTipBorder;
ClipRect( &m_rect ) ;
BackColor( whiteColor ) ;
m_rect.bottom = m_rect.top + height + 2 * kTipBorder;
ClipRect( &m_rect ) ;
BackColor( whiteColor ) ;
{
if( text[i] == 13 || text[i] == 10)
{
{
if( text[i] == 13 || text[i] == 10)
{
if ( useDrawThemeText )
{
Rect frame ;
if ( useDrawThemeText )
{
Rect frame ;
{
::DrawText( text , laststop , i - laststop ) ;
height += lineh ;
{
::DrawText( text , laststop , i - laststop ) ;
height += lineh ;
if ( useDrawThemeText )
{
Rect frame ;
if ( useDrawThemeText )
{
Rect frame ;
CFRelease( mString ) ;
}
else
CFRelease( mString ) ;
}
else
{
::DrawText( text , laststop , i - laststop ) ;
}
{
::DrawText( text , laststop , i - laststop ) ;
}
#endif
{
wxMacPortStateHelper help( (GrafPtr) GetWindowPort( m_window ) );
#endif
{
wxMacPortStateHelper help( (GrafPtr) GetWindowPort( m_window ) );
bool useDrawThemeText = ( DrawThemeTextBox != (void*) kUnresolvedCFragSymbolAddress ) ;
bool useDrawThemeText = ( DrawThemeTextBox != (void*) kUnresolvedCFragSymbolAddress ) ;
m_shown = true ;
FontFamilyID fontId ;
m_shown = true ;
FontFamilyID fontId ;
m_rect.left = m_position.x + kTipOffset;
m_rect.top = m_position.y + kTipOffset;
m_rect.right = m_rect.left + width + 2 * kTipBorder;
m_rect.left = m_position.x + kTipOffset;
m_rect.top = m_position.y + kTipOffset;
m_rect.right = m_rect.left + width + 2 * kTipBorder;
if ( useDrawThemeText )
m_rect.right += kTipBorder ;
if ( useDrawThemeText )
m_rect.right += kTipBorder ;
m_rect.bottom = m_rect.top + height + 2 * kTipBorder;
ClipRect( &m_rect ) ;
BackColor( whiteColor ) ;
m_rect.bottom = m_rect.top + height + 2 * kTipBorder;
ClipRect( &m_rect ) ;
BackColor( whiteColor ) ;
{
if( text[i] == 13 || text[i] == 10)
{
{
if( text[i] == 13 || text[i] == 10)
{
if ( useDrawThemeText )
{
Rect frame ;
if ( useDrawThemeText )
{
Rect frame ;
{
::DrawText( text , laststop , i - laststop ) ;
height += lineh ;
{
::DrawText( text , laststop , i - laststop ) ;
height += lineh ;
if ( useDrawThemeText )
{
Rect frame ;
if ( useDrawThemeText )
{
Rect frame ;
CFRelease( mString ) ;
}
else
CFRelease( mString ) ;
}
else
{
::DrawText( text , laststop , i - laststop ) ;
}
{
::DrawText( text , laststop , i - laststop ) ;
}