wxWidgets - 移除位图按钮周围的框架

wxWidgets - remove the frame around a Bitmap Button

我刚刚开始使用 wxWidgets,所以请多多关照。 当鼠标进入按钮时,我如何禁用按钮周围出现一个框架。还是 another/easier 使图片可点击的方法?

您可能正在寻找 wxBitmapButton,它允许您为其不同的状态(聚焦、按下...)设置不同的位图。

如果不是,那么你真的需要更清楚地解释你想要什么。