use m_textItemParent
This commit is contained in:
@@ -358,9 +358,8 @@ void OptionRow::AfterImportOptions()
|
|||||||
for( unsigned c=0; c<m_RowDef.m_vsChoices.size(); c++ )
|
for( unsigned c=0; c<m_RowDef.m_vsChoices.size(); c++ )
|
||||||
{
|
{
|
||||||
// init text
|
// init text
|
||||||
BitmapText *bt = new BitmapText;
|
BitmapText *bt = new BitmapText( m_textItemParent );
|
||||||
m_textItems.push_back( bt );
|
m_textItems.push_back( bt );
|
||||||
bt->LoadFromFont( THEME->GetPathF(m_sType,"item") );
|
|
||||||
CString sText = m_RowDef.m_vsChoices[c];
|
CString sText = m_RowDef.m_vsChoices[c];
|
||||||
PrepareItemText( sText );
|
PrepareItemText( sText );
|
||||||
bt->SetText( sText );
|
bt->SetText( sText );
|
||||||
|
|||||||
Reference in New Issue
Block a user