From: Robert Roebling on
Gordon.Schumacher(a)seagate.com wrote:

> but IMHO it suffers readability from the fact that it's not using
> templates at all. While templates can make for messy code if
> abused, I personally prefer to read std::vector<int> instead of
> WX_DECLARE_LIST_3(bunch, of, params).

We are aware of that and templates are used in several places
in the development branch. In particular, a real template
class wxVector was added which behaves like std::vector in
non-STL mode and which is just typedef'ed to std::vector
in STL mode.

http://www.lpthe.jussieu.fr/~zeitlin/wxWindows/docs/wxwin_wxvector.html#wxvector

So when using wxWidgets 3.0, you can write wxVector<int>
and it will use/be the STL class if wxWidgets is compiled
with STL.

Robert



---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org
For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org