News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

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