← Back to team overview

kicad-developers team mailing list archive

Re: GetChars() && Assertion


>Under Linux , currently i am using this version (not committed, because tested only with Ubuntu 9.10)
> * Function GetChars
> * returns a pointer to the actual character data, either 8 or
> * 16 bits wide, depending on how the wxWidgets library was compiled.
> */
>static inline const wxChar* GetChars( wxString s )
>#if wxCHECK_VERSION(2,9,0)
>// return (const wxChar*) s.wx_str();
> return (const wxChar*) s.c_str();
> return s.GetData();

I've found GetChars() the macros.h definition after.
i've tested your change too and seems to work great also in my case..