Fix a link issue on some platforms, created by rev 6429
This commit is contained in:
parent
dda957a048
commit
f76c9376e0
|
@ -388,7 +388,10 @@ void KIWAY::SetLanguage( int aLanguage )
|
|||
// the array below.
|
||||
if( m_ctl & KFCTL_CPP_PROJECT_SUITE )
|
||||
{
|
||||
EDA_BASE_FRAME* top = dynamic_cast<EDA_BASE_FRAME*>( m_top );
|
||||
// A dynamic_cast could be better, but creates link issues
|
||||
// (some basic_frame functions not found) on some platforms,
|
||||
// so a static_cast is used.
|
||||
EDA_BASE_FRAME* top = static_cast<EDA_BASE_FRAME*>( m_top );
|
||||
|
||||
if( top )
|
||||
top->ShowChangedLanguage();
|
||||
|
|
Loading…
Reference in New Issue