This commit is contained in:
Glenn Maynard
2006-10-20 00:22:16 +00:00
parent cd3f228338
commit f2e89da415
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -325,7 +325,7 @@ void ScreenTextEntryVisual::Init()
for( int x=0; x<KEYS_PER_ROW; ++x )
{
BitmapText *&pbt = m_ptextKeys[r][x];
pbt = dynamic_cast<BitmapText *>( text.Copy() ); // XXX: Copy() should be covariant
pbt = text.Copy();
this->AddChild( pbt );
RString s = g_szKeys[r][x];