[wx-discuss] Re: More wxTNG Discussion (was: aspects of a safe future)

Vadim Zeitlin vadim at wxwidgets.org
Fri Oct 26 14:18:07 PDT 2007


On Fri, 26 Oct 2007 21:36:16 +0200 Jeroen van der Wulp <J.v.d.Wulp at tue.nl> wrote:

JvdW> > - use of smart pointer-like objects instead of pointers
JvdW> > - better, type-safe, flexible event handling subsystem
JvdW> > - using factories for object creation
JvdW> > 
JvdW> > and many others.
JvdW> 
JvdW> I know, I have read about it a couple of times. And I like many of the 
JvdW> suggestions. I noticed that so little of those ideas have so far 
JvdW> actually made it to version 3.

 You should realize that we had used wx3 and wxTNG interchangeably in the
past. With UTF-8 changes it was decided to call the next version 3.0 and
not 2.10 because there are a few incompatibilities and this is a rather
major change. However wx3, as we will release it, has nothing to do with
wxTNG, it's just the continuation of wx2.

JvdW> > JvdW> For instance to parameterise the string implementation throughout all
JvdW> > JvdW> of wxWidgets.
JvdW> > 
JvdW> >  What exactly would this achieve?
JvdW> 
JvdW> Offering choice of string representation to the user of the library. As 
JvdW> I mentioned in a previous email, code that was written for an ANSI 
JvdW> variant of the wxWidgets libraries does not necessarily compile against 
JvdW> the unicode variant.

 This is exactly the problem which is solved (albeit at a cost of not being
100% compatible and using quite a lot of implicit conversions under the
hood which may be a little confusing sometimes) in wx3.

JvdW> Your next question would be: what problem does this solve? It actually 
JvdW> only (partly) solves a distribution problem. The problem is that there 
JvdW> is no standard wxWidgets installation. Sometimes there is only the ANSI 
JvdW> build, sometimes only the UNICODE build. With wx3 it may also be the 
JvdW> UTF-8 build.

 No. With wx3 there will be only one version, using either UTF-16/32 or
UTF-8 internally. But the interface will be the same.

 Regards,
VZ


---------------------------------------------------------------------
To unsubscribe, e-mail: wx-discuss-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wx-discuss-help at lists.wxwidgets.org




More information about the wx-discuss mailing list