Formatting and naming conventions.

This commit is contained in:
Jeff Young
2020-11-26 16:47:40 +00:00
parent 90e4f50a03
commit 94de8ada97
4 changed files with 131 additions and 134 deletions
+3 -1
View File
@@ -122,9 +122,10 @@ EDA_BASE_FRAME::EDA_BASE_FRAME( wxWindow* aParent, FRAME_T aFrameType,
wxWindow* EDA_BASE_FRAME::findQuasiModalDialog()
{
for( auto& iter : GetChildren() )
for( wxWindow* iter : GetChildren() )
{
DIALOG_SHIM* dlg = dynamic_cast<DIALOG_SHIM*>( iter );
if( dlg && dlg->IsQuasiModal() )
return dlg;
}
@@ -134,6 +135,7 @@ wxWindow* EDA_BASE_FRAME::findQuasiModalDialog()
if( m_ident == FRAME_SCH )
{
wxWindow* cvpcb = wxWindow::FindWindowByName( "CvpcbFrame" );
if( cvpcb )
return cvpcb;
}