Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在构建一个测试 GUI 来控制/测试产品。产品定期发送状态信息。有这么多的功能,我已经在几个笔记本(选项卡)中对类似的功能进行了分组。我想在同一 X/Y 位置的所有选项卡上显示通用状态信息。提前感谢你的帮助。
从同事那里得到了将仪表板添加到顶级面板的提示,以便它与添加面板(又名选项卡)的代码位于同一文件中。当仪表板位于 staticboxsizer 下时,这将不起作用,不断收到有关“wxstaticbox 不能用作窗口父级”的投诉。将staticboxsizer改为boxsizer,代码运行成功。