Page 1 of 1

如何让 wxCollapsiblePane收缩时不改变父窗口大小?

Posted: Sat Feb 18, 2012 11:24 am
by orighost
如何让 wxCollapsiblePane收缩时不改变父窗口大小?

Re: 如何让 wxCollapsiblePane收缩时不改变父窗口大小?

Posted: Sun Mar 25, 2012 2:13 am
by Utensil
wxCP_NO_TLW_RESIZE:
By default wxCollapsiblePane resizes the top level window containing it when its own size changes. This allows to easily implement dialogs containing an optionally shown part, for example, and so is the default behaviour but can be inconvenient in some specific cases -- use this flag to disable this automatic parent resizing then.

http://docs.wxwidgets.org/trunk/classwx ... _pane.html