Refactoring: wxList replaced with std::vector.
Refactoring: wxWidgets container replaced with std container.
Minor cleanup.
Refactoring: reduced code duplication.
Refactoring: cleanup of data type (const char* vs wxString).
Refactoring: replaced plain pointer handling with std container.