Code formatting fixes for 3d177e9c
This commit is contained in:
parent
3d177e9c2a
commit
c1649b1138
|
@ -585,13 +585,16 @@ void DIALOG_DRC_CONTROL::OnUnconnectedSelectionEvent( wxCommandEvent& event )
|
||||||
void DIALOG_DRC_CONTROL::RedrawDrawPanel()
|
void DIALOG_DRC_CONTROL::RedrawDrawPanel()
|
||||||
{
|
{
|
||||||
int freezeCount = 0;
|
int freezeCount = 0;
|
||||||
|
|
||||||
while( m_brdEditor->IsFrozen() )
|
while( m_brdEditor->IsFrozen() )
|
||||||
{
|
{
|
||||||
m_brdEditor->Thaw();
|
m_brdEditor->Thaw();
|
||||||
freezeCount++;
|
freezeCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_brdEditor->GetCanvas()->Refresh();
|
m_brdEditor->GetCanvas()->Refresh();
|
||||||
while( freezeCount > 0)
|
|
||||||
|
while( freezeCount > 0 )
|
||||||
{
|
{
|
||||||
m_brdEditor->Freeze();
|
m_brdEditor->Freeze();
|
||||||
freezeCount--;
|
freezeCount--;
|
||||||
|
|
Loading…
Reference in New Issue