Hi Mattia,

[email protected] wrote:
In the meantime I wondered if there was a reason const wxString hadn't been implemented before?
Basically, it's not needed: if you are writing XS, just use 'wxString' in the
function declaration;
*tries it*...

!?

Cool, that's great then. I feel like a fool for spending so much time puzzling over that though. It just so happened I tried a non-const wxString& reference but not a non-referenced wxString, as the C++ function wanted a reference.

Is that documented anywhere? I'm wondering if/what I've neglected reading that would have let me work that out for myself (apart from trying to use Wx::ActiveX as a guide as you said, which I am doing :-] ).

-- Ryan

Reply via email to