WxStretch
lastmod 2026-11-10created 2015-06-242 edits
wxStretch is a flag enumeration in wxWidgets sizers that specifies how a child window takes up the remaining space. The most commonly used, wxEXPAND, stretches the item in the direction perpendicular to the layout direction, while wxSHAPED resizes it while keeping its aspect ratio. These flags are passed to the flag argument of wxBoxSizer::Add, combined by bitwise OR with alignment and border flags.