[wx-discuss] Re: SoC starts...

Julian Smart julian at anthemion.co.uk
Thu May 25 05:43:10 PDT 2006


At 12:15 25/05/2006, you wrote:
>  I'm afraid I disagree with Julian here -- I don't see why integrating
>(parts) of the code in other projects should be more difficult if XRC is
>used.

An application will have to make sure these XRC are included
in the bundle, and will probably have to look inside
the PM code to see how the XRC files are used. If the
app doesn't already initialize XRC, it will have to do so,
and load the appropriate files. XRC files are more likely
to require separate (not compiled-in, XPM) images,
so again, more files to have to consider when distributing
the application. It's just more to go wrong.

>  OTOH if you do not use XRC but write the layout code in C++ I think it
>would be really better to do it by hand as automatically-generated code is
>really difficult to manage.

For complex dialogs it's madness to try to write it all by hand.
You can always clean up the generated code, which is a lot quicker
than writing the whole thing from scratch. If you're very quick at
writing them by hand, that's fine, but given the availability of
tools to make life easier plus the desire to maximise project time,
do use tools when it's sensible.

Regards,

Julian



---------------------------------------------------------------------
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