Kirix Support Forums

wxControl in toolbar problem.

Please post all general questions, comments, bug reports, and any other wxAUI feedback here.

wxControl in toolbar problem.

Postby geoionescu on Sun Feb 11, 2007 7:33 am

Hello dear kirix,

I'm experiencing the same problem described here:
http://www.kirix.com/community/forums// ... 95cf0f0422

Basically, I need to add a combobox in a toolbar but all I'm getting wrong size calculations.

Do you have a workaround for it (other that using wxPane) ?

I don't think this problem has to do with wxToolbar since it works there (see toolbar sample). Anyway, you mentioned something about wxAuiToolbar. Is this component in development, even in CVS? Where can I get it?

Thanks.
Regards,
George Ionescu

Terra Informatica Software, Inc.
http://www.terrainformatica.com
geoionescu
Registered User
 
Posts: 4
Joined: Sun Oct 15, 2006 3:50 am

Postby Ben on Wed Feb 14, 2007 8:22 am

The workaround is to put the toolbar first on a panel, and then add the panel. Everything will work for you then.

By the way, you will like the upcoming wxAuiToolbar class. It makes this workaround no longer necessary.

Best,
Ben
User avatar
Ben
Kirix Support Team
 
Posts: 522
Joined: Mon Dec 19, 2005 6:29 am

Return to wxAUI Questions, Thoughts & Feedback