Author Topic: wxSmith custom controls  (Read 4815 times)

Offline mike__t

  • Multiple posting newcomer
  • *
  • Posts: 11
wxSmith custom controls
« 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.

-Mike

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: wxSmith custom controls
« Reply #1 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

Regards
  BYO