diff --git a/src/insertpanel.cpp b/src/insertpanel.cpp index 04a40c2..391a284 100644 --- a/src/insertpanel.cpp +++ b/src/insertpanel.cpp @@ -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 ) diff --git a/src/locationpanel.cpp b/src/locationpanel.cpp index e7e0983..5c6a8c3 100644 --- a/src/locationpanel.cpp +++ b/src/locationpanel.cpp @@ -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 {