wxgo

How do I stop artifacts from WXWidgets sizer being redrawn?

不打扰是莪最后的温柔 提交于 2020-01-24 00:28:49
问题 I have a setup like this: Frame->Panel->BoxSizer The BoxSizer has 2 BoxSizers that are hidden at launch: EditBoxSizer->FlexSizer with some inputs. GridBoxSizer->Grid GridBoxSizer has a grid. EditBoxSizer is simply a few static texts and input boxes. GridBoxSizer and EditBoxSizer are never shown at the same time. So each always gets 100% of the sizer space. When EditBoxSizer is displayed, GridBoxSizer is hidden. It works perfect. When EditBoxSizer is hidden, GridSizer is shown. However I can