call GetFont.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26582
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
size_t count = GetCount();
for ( size_t n = 0; n < count; n++ )
{
size_t count = GetCount();
for ( size_t n = 0; n < count; n++ )
{
- GetTextExtent( GetString(n), &width, NULL, NULL, NULL, &m_font );
+ GetTextExtent( GetString(n), &width, NULL, NULL, NULL );
if ( width > ret.x )
ret.x = width;
}
if ( width > ret.x )
ret.x = width;
}
size_t count = GetCount();
for ( size_t n = 0; n < count; n++ )
{
size_t count = GetCount();
for ( size_t n = 0; n < count; n++ )
{
- GetTextExtent( GetString(n), &width, NULL, NULL, NULL, &m_font );
+ GetTextExtent( GetString(n), &width, NULL, NULL, NULL );
if ( width > ret.x )
ret.x = width;
}
if ( width > ret.x )
ret.x = width;
}
size_t count = GetCount();
for ( size_t n = 0; n < count; n++ )
{
size_t count = GetCount();
for ( size_t n = 0; n < count; n++ )
{
- GetTextExtent( GetString(n), &width, NULL, NULL, NULL, &m_font );
+ GetTextExtent( GetString(n), &width, NULL, NULL, NULL );
if ( width > ret.x )
ret.x = width;
}
if ( width > ret.x )
ret.x = width;
}
size_t count = GetCount();
for ( size_t n = 0; n < count; n++ )
{
size_t count = GetCount();
for ( size_t n = 0; n < count; n++ )
{
- GetTextExtent( GetString(n), &width, NULL, NULL, NULL, &m_font );
+ GetTextExtent( GetString(n), &width, NULL, NULL, NULL );
if ( width > ret.x )
ret.x = width;
}
if ( width > ret.x )
ret.x = width;
}