Fixed an updating problem
This commit is contained in:
parent
89f25edc5d
commit
3ad1790076
|
@ -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 )
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue