::GetFontInfo(&fontInfo);
short lineh = fontInfo.ascent + fontInfo.descent + fontInfo.leading;
short height = 0 ;
- // short width = TextWidth( m_label , 0 ,m_label.Length() ) ;
int i = 0 ;
int length = m_label.Length() ;
int width = 0 ;
int thiswidth = 0 ;
int laststop = 0 ;
- wxCharBuffer text = wxMacStringToCString( m_label ) ;
+ wxCharBuffer text = m_label.mb_str( wxConvLocal) ;
while( i < length )
{