Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: mike__t on March 01, 2007, 09:02:19 pm

Title: wxSmith custom controls
Post by: mike__t on March 01, 2007, 09:02:19 pm
Two issues, one with a suggested patch:

- We use custom controls in XRC mode.  Currently, when the code is generated for setting up member variables, it uses the class name "Custom" in the cast instead of the user-entered class name.  I patched this locally by simply making wxsItem::GetClassName a virtual function, then adding an override in wxsCustomWidget that returns the user-entered class name.

- On Linux (specifically SuSe 10), custom controls are not displayed with '???' like they are in Windows.  They are not visible at all until selected.

Title: Re: wxSmith custom controls
Post by: byo on March 01, 2007, 11:38:29 pm
This should be fixed soon, since all classes have now "Custom class" property (which will soon be changed into "Class name"), it's just a matter of time. Unfortunately I'm busy now so can't give exact answer when I'll do the fix