I've decided to add current source code of rewritten wxSmith into svn (it will be in wxSmith/new directory)
void wxsFlexGridSizer::BuildSizerCreatingCode(wxString& Code,const wxString& WindowParent,wxsCodingLang Language)
{
switch ( Language )
{
case wxsCPP:
Code << GetVarName() << _T(" = new wxFlexGridSizer(")
<< wxString::Format(_T("%d,%d,"),Cols,Rows) [b]<<[/b]
<< wxsDimensionProperty::GetPixelsCode(VGap,VGapDU,WindowParent,wxsCPP) << _T(",")
<< wxsDimensionProperty::GetPixelsCode(HGap,HGapDU,WindowParent,wxsCPP) << _T(");\n");
i found this in src\plugins\contrib\wxSmith\new\defwidgets\wxsheaders.h
the << must not be there
But I must warn that this is still during development and older version must be used for designing wxWidgets forms. New version will simply not work....is still true it doesn't. I'm not pushing anything here, really - but it may (or may not) help already...?!
I just wanted to say that I'm very impressed by the progress of the new wxSmith.And I'm impressed by posts like this one :D. Since I don't have as much time to work on wxSmith as before I feel like it just goes to slow. But maybe it's like with games you've already played. Next time you know better what to do and do it faster ;)
Do you think it's already time to do the switch to start the testing and (maybe) bug-reporting phase?