Search found 47 matches

by denarced
Fri Dec 09, 2011 11:24 am
Forum: C++ Development
Topic: Get the border set on already existing children
Replies: 2
Views: 604

Re: Get the border set on already existing children

Is there a way to get the used border size for controls that were added previously? wxSizer::GetItem(), then wxSizerItem::GetBorder() http://docs.wxwidgets.org/stable/wx_wxsizer.html#wxsizergetitem http://docs.wxwidgets.org/stable/wx_wxsizeritem.html#wxsizeritemgetborder That's the answer! The wxSi...
by denarced
Fri Dec 09, 2011 6:27 am
Forum: C++ Development
Topic: Get the border set on already existing children
Replies: 2
Views: 604

Get the border set on already existing children

Hello, my GUI is made with wxFormBuilder and for most part, it's pretty static. Now I'm adding some dynamic behavior based on certain profiles and as the primary window is constructed, I'm hiding, detaching and adding controls. The border setting is made in the wxFormBuilder and in the code it produ...