wxWidgets 解决自定义 Dialog 设置不总是置顶

使用 wxWidgets 时,可能遇到自定义的 Dialog 创建之后,总是在最顶层窗口上,可以尝试一下在自定义dialog 的构造函数内

SetWindowStyle(GetWindowStyle() & ~wxSTAY_ON_TOP);
posted @ 2022-07-23 22:04  SupperMary  阅读(176)  评论(0编辑  收藏  举报