Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
wxSmith custom controls
(1/1)
mike__t:
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.
-Mike
byo:
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
Regards
BYO
Navigation
[0] Message Index
Go to full version