Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Rewritten wxSmith

(1/2) > >>

byo:
I've decided to add current source code of rewritten wxSmith into svn (it will be in wxSmith/new directory) :)

If someone want to look into new structure, I tried to document almost everytning in doxygen (doxyfile attached in sources).

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. Some things still need to be coded and of course there are some really bad bugs  :?.
As soon as new version gets the functionality of old one, it will replace current wxSmith.

And one more thing for those who are waiting for some new features - after rewriting, wxSmith will look almost exactly as the old version. Only it's internal structure changes.
But I hope that new structure will make coding new features easier (and much more bug-free) :)

mandrav:

--- Quote ---I've decided to add current source code of rewritten wxSmith into svn (it will be in wxSmith/new directory)
--- End quote ---

Wise move ;)

Game_Ender:
Very Cool.  It would be slightly cleaner to create a new branch in the root "branches" directory and just merge that branch into the old version of wxSmith when you are finished.  After all if you are doing branch based development in subversion you might as well do it the subversion way.

cyberkoa:
byo, a reply to your mail . the in fact the wxsbitmapbutton.h is not missing , in contract , I add wxsbitmapbutton.cpp accidentally , I have not coded the bitmapbutton widget . Anyway , I shall add the wxsbitmapbutton.h later.

One thing that I notice in the wxSmith.cbp , both in "new" and HEAD version, miss out the host application setting ..  Any purpose of taking of the that ? I could only run the wxSmith project when the host application is set.

PsYhLo:
i found this in src\plugins\contrib\wxSmith\new\defwidgets\wxsheaders.h

--- Code: (cpp) ---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");

--- End code ---

the << must not be there

Navigation

[0] Message Index

[#] Next page

Go to full version