If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
If you wann't a binary search tree, you can use std::set or std::map for unique items. For multiple items with the same keys there is std::multiset and std::multimap.