KIWAY::Player() wxASSERT
This commit is contained in:
parent
01f7a53195
commit
59d7303b03
|
@ -246,6 +246,8 @@ KIWAY_PLAYER* KIWAY::Player( FRAME_T aFrameType, bool doCreate )
|
||||||
|
|
||||||
KIFACE* kiface = KiFACE( face_type );
|
KIFACE* kiface = KiFACE( face_type );
|
||||||
|
|
||||||
|
wxASSERT( kiface );
|
||||||
|
|
||||||
KIWAY_PLAYER* frame = (KIWAY_PLAYER*) kiface->CreateWindow( m_top, aFrameType, this, KFCTL_PROJECT_SUITE );
|
KIWAY_PLAYER* frame = (KIWAY_PLAYER*) kiface->CreateWindow( m_top, aFrameType, this, KFCTL_PROJECT_SUITE );
|
||||||
|
|
||||||
return m_player[aFrameType] = frame;
|
return m_player[aFrameType] = frame;
|
||||||
|
|
Loading…
Reference in New Issue