Fixed an updating problem

This commit is contained in:
Zane U. Ji 2014-04-22 22:42:02 +08:00
parent 89f25edc5d
commit 3ad1790076
2 changed files with 0 additions and 12 deletions

View File

@ -105,11 +105,7 @@ void InsertPanel::update (
for ( it = entitySet.begin(); it != entitySet.end(); ++it )
list->Append ( *it );
list->Show ( true );
#if wxCHECK_VERSION(2,9,0)
list->Update();
#else
sizer->Layout();
#endif
return;
}
@ -142,11 +138,7 @@ void InsertPanel::update (
for ( it = elementSet.begin(); it != elementSet.end(); ++it )
list->Append ( *it );
list->Show ( true );
#if wxCHECK_VERSION(2,9,0)
list->Update();
#else
sizer->Layout();
#endif
}
void InsertPanel::OnEnter ( wxCommandEvent& event )

View File

@ -90,11 +90,7 @@ void LocationPanel::update (
structureEdit->SetReadOnly ( false );
structureEdit->SetText ( structure );
structureEdit->SetReadOnly ( true );
#if wxCHECK_VERSION(2,9,0)
structureEdit->Update();
#else
sizer->Layout();
#endif
}
else
{