how to convert std::vector to wxVector??
thanks in adavance
Wxwidgets
-
- Moderator
- Posts: 19164
- Joined: Fri Apr 21, 2006 8:03 pm
- Location: $FCE2
Re: Wxwidgets
What do you need this for?
If you already have code that uses std::vector, there is no need to switch to wxVector. And from the top of my head, i can't think of any wxWidgets method that takes wxVector as an argument.
If you already have code that uses std::vector, there is no need to switch to wxVector. And from the top of my head, i can't think of any wxWidgets method that takes wxVector as an argument.
Use the source, Luke!
-
- Site Admin
- Posts: 1355
- Joined: Sun Aug 29, 2004 7:14 pm
- Location: Salt Lake City, Utah, USA
Re: Wxwidgets
Also, wxVector is compatible with the stl::vector interface, in fact, if wxWidgets is built in STL mode, it's just a typedef for std::vector. So if you have any local code that takes a wxVector, it should take very little to no changes in order to pass it a std::vector instead.