[wx-discuss] wxTNG: using external libraries

Julian Smart julian at anthemion.co.uk
Fri Feb 17 05:46:54 PST 2006


At 11:44 17/02/2006, you wrote:
>Julian Smart <julian at anthemion.co.uk>:
> > Here are some concerns about use of external libraries:
>
>Taking strings as an example I would prefer something like consistent use of
>
>   wx::string in the API
>
>and if somebody want to use foo::string in user application then deliver
>
>   #include "wx-boost.h"
>
>which could allow us to write code with transparent conversions like
>
>   boost::string new_title;
>   win.SetTitle(new_title); // SetTitle(wx::string title) was prototype

Right. I hope this is possible (wx::String an alias for boost::string)
but I'm still cringing at the necessity to type two colons, which
means faster onset of repetitive strain injury, as well as being harder on
the eye. I think we should make it officially sanctioned to write wxString
for wx::String, wxWindow for wx::Window, etc. and not something
anyone has to feel slightly guilty about.

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