News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

wxSmith custom class bug

Started by lesnewell, March 02, 2007, 05:05:51 PM

Previous topic - Next topic

lesnewell

If you define a custom class and use an underscore in the creating code box they get converted to & when you save/load. For instance:
$(THIS) = new $(CLASS)($(PARENT),$(ID),0,-M_PI,M_PI,&unitAngular);
becomes
$(THIS) = new $(CLASS)($(PARENT),$(ID),0,-M&PI,M&PI,&unitAngular);

byo

Try changing to proper value, save and see if it loads correctly then.

I've updated string-handling inside XRC files recently to be equal to the one inside XRC files. Unfortunately this introduced some small incompatibility when '_' and few othre characters are used.

Sorry for inconvenience

BYO

lesnewell

Yup - Fixed. Thanks for your great work :D