| 164 | } |
| 165 | |
| 166 | void ObjectivesEditor::clear() |
| 167 | { |
| 168 | // Clear internal data |
| 169 | _worldSpawn = NULL; |
| 170 | _entities.clear(); |
| 171 | _curEntity = _entities.end(); |
| 172 | |
| 173 | // Clear the list boxes |
| 174 | _objectiveEntityList->Clear(); |
| 175 | _objectiveList->Clear(); |
| 176 | |
| 177 | _curObjective = wxDataViewItem(); |
| 178 | updateObjectiveButtonPanel(); |
| 179 | } |
| 180 | |
| 181 | // Populate widgets with map data |
| 182 | void ObjectivesEditor::populateWidgets() |
no test coverage detected