Make Codelite compatible with wxUSE_STL
Posted: Fri Jul 04, 2008 11:13 am
It seems there is a little code that cannot compile if wxUSE_STL is defined.
I would suggest change it to:
Opinion?
PS: Which sub-forum is for discussing something like this? I mean the code, patch, and development of Codelite itself.
Code: Select all
wxSizerItemList list = mainSizer->GetChildren();
for ( wxSizerItemList::Node *node = list.GetFirst(); node; node = node->GetNext() ){
wxSizerItem *current = node->GetData();
current->GetWindow()->Destroy();
}
m_projSettingsMap.clear();
Code: Select all
wxSizerItemList list = mainSizer->GetChildren();
for (size_t i=0; i < list.GetCount(); i++){
wxSizerItem *current = list[i];
current->GetWindow()->Destroy();
}
m_projSettingsMap.clear();
PS: Which sub-forum is for discussing something like this? I mean the code, patch, and development of Codelite itself.