Hi,
I think there was an error (or two) introduced to wxSmith with Rev 3850. Is this the right place to report it?
In src\plugins\contrib\wxSmithAui\wxAuiToolBar\wxsAuiToolBar.cpp the following patch corrects this error:
356,357c356,357
< if ( Spacer->m_Stretch ) Codef(_T("%AAddStretchSpacer(%ld);\n"),Spacer->m_Proportion);
< else Codef(_T("%AAddSpacer(%ld);\n"),Spacer->m_Pixels);
---
> if ( Spacer->m_Stretch ) Codef(_T("%AAddStretchSpacer(%d);\n"),Spacer->m_Proportion);
> else Codef(_T("%AAddSpacer(%d);\n"),Spacer->m_Pixels);
I have only looked at this, since i couldn't load my wxSmith files anymore. But ist seems that the " tons of stringformat fixes to avoid asserts with wx2.9" introduced a few more problems. Not all "%d" should be changed to "%ld", some of this format strings are going to Codef and shouldn't be changed.
Martin