From 59d7303b03ea6a4eaa412d9d9a5c3f724554ac23 Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Tue, 22 Apr 2014 11:10:07 -0500 Subject: [PATCH] KIWAY::Player() wxASSERT --- common/kiway.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/kiway.cpp b/common/kiway.cpp index 9004566f14..d8e93a00d5 100644 --- a/common/kiway.cpp +++ b/common/kiway.cpp @@ -246,6 +246,8 @@ KIWAY_PLAYER* KIWAY::Player( FRAME_T aFrameType, bool doCreate ) KIFACE* kiface = KiFACE( face_type ); + wxASSERT( kiface ); + KIWAY_PLAYER* frame = (KIWAY_PLAYER*) kiface->CreateWindow( m_top, aFrameType, this, KFCTL_PROJECT_SUITE ); return m_player[aFrameType] = frame;