git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15905
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( useGetThemeText )
{
Point bounds={0,0} ;
if ( useGetThemeText )
{
Point bounds={0,0} ;
CFStringRef mString = CFStringCreateWithBytes( NULL , (UInt8*) text + laststop , i - laststop , CFStringGetSystemEncoding(), false ) ;
::GetThemeTextDimensions( mString,
kThemeCurrentPortFont,
kThemeStateActive,
CFStringRef mString = CFStringCreateWithBytes( NULL , (UInt8*) text + laststop , i - laststop , CFStringGetSystemEncoding(), false ) ;
::GetThemeTextDimensions( mString,
kThemeCurrentPortFont,
kThemeStateActive,
CFRelease( mString ) ;
curwidth = bounds.h ;
}
CFRelease( mString ) ;
curwidth = bounds.h ;
}
if ( useGetThemeText )
{
Point bounds={0,0} ;
if ( useGetThemeText )
{
Point bounds={0,0} ;
CFStringRef mString = CFStringCreateWithBytes( NULL , (UInt8*) text + laststop , i - laststop , CFStringGetSystemEncoding(), false ) ;
::GetThemeTextDimensions( mString,
kThemeCurrentPortFont,
kThemeStateActive,
CFStringRef mString = CFStringCreateWithBytes( NULL , (UInt8*) text + laststop , i - laststop , CFStringGetSystemEncoding(), false ) ;
::GetThemeTextDimensions( mString,
kThemeCurrentPortFont,
kThemeStateActive,
CFRelease( mString ) ;
curwidth = bounds.h ;
}
CFRelease( mString ) ;
curwidth = bounds.h ;
}
if ( useGetThemeText )
{
Point bounds={0,0} ;
if ( useGetThemeText )
{
Point bounds={0,0} ;
CFStringRef mString = CFStringCreateWithBytes( NULL , (UInt8*) text + laststop , i - laststop , CFStringGetSystemEncoding(), false ) ;
::GetThemeTextDimensions( mString,
kThemeCurrentPortFont,
kThemeStateActive,
CFStringRef mString = CFStringCreateWithBytes( NULL , (UInt8*) text + laststop , i - laststop , CFStringGetSystemEncoding(), false ) ;
::GetThemeTextDimensions( mString,
kThemeCurrentPortFont,
kThemeStateActive,
CFRelease( mString ) ;
curwidth = bounds.h ;
}
CFRelease( mString ) ;
curwidth = bounds.h ;
}
if ( useGetThemeText )
{
Point bounds={0,0} ;
if ( useGetThemeText )
{
Point bounds={0,0} ;
CFStringRef mString = CFStringCreateWithBytes( NULL , (UInt8*) text + laststop , i - laststop , CFStringGetSystemEncoding(), false ) ;
::GetThemeTextDimensions( mString,
kThemeCurrentPortFont,
kThemeStateActive,
CFStringRef mString = CFStringCreateWithBytes( NULL , (UInt8*) text + laststop , i - laststop , CFStringGetSystemEncoding(), false ) ;
::GetThemeTextDimensions( mString,
kThemeCurrentPortFont,
kThemeStateActive,
CFRelease( mString ) ;
curwidth = bounds.h ;
}
CFRelease( mString ) ;
curwidth = bounds.h ;
}