[wx 2.8.7, WinXP, mingw] Custom Control Positioning Problems

Wouter van Teijlingen wote at dare.nl
Mon Mar 3 00:50:56 PST 2008


Hello,

VZ> FWIW I think we could support client data in wxRadioBox in wx itself. 
VZ> This would involve moving the client data methods from wxItemContainer 
VZ> down to wxItemContainerImmutable but this shouldn't be a problem. And 
VZ> doing the changes in wx should be simpler than duplicating all the item 
VZ> positioning code.

I think that's the way to go, but we don't have the resources to implement 
this functionality for other platforms. This seems as a requirement for 
acceptance in wxWidgets. Therefore a custom control is easier to implement, 
because we don't have to patch wxWidgets if our changes are not accepted.

Thus for now a custom control seems the way to go. The thing is that 
positioning still fails mysteriously. Perhaps someone could take a look at 
that?

wxVector indeed seems a smart choice. Currently i'm writing this custom 
control for wxWidgets 2.8.7, but i can't find wxVector in the documentation.

Thanks,

Wouter




More information about the wx-dev mailing list