On 8/13/2014 2:23 PM, Andrew Zonenberg wrote:
> Hmm, yes that should do the conversion inline.
> 
> Updated patch attached, tested on Debian wx 2.8.

I just tested this patch on Windows with wxWidgets 3.0.1 and it appears
to be working properly.  I'll go ahead and commit it if there are no
objections or someone else is already on it.

> 
>> static inline const wxChar* GetChars( const wxString& s )
>> {
>> #if wxCHECK_VERSION( 2, 9, 0 )
>>     return (const wxChar*) s.c_str();
>> #else
>>     return s.GetData();
>> #endif
>> }
>>


_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to