阅读背景:

如何强制刷新wx.Panel?

来源:互联网 

I am trying to modify the controls of a Panel, have it update, then continue on with code execution. The problem seems to be that the Panel is waiting for Idle before it will refresh itself. I've tried refresh of course as well as GetSizer().Layout() and even sent a resize event to the frame using the SendSizeEvent() method, but to no avail. I'm at a loss here, I find it difficult to believe there is no way to force a redrawing of this panel. Here is the code that changes the controls:I am trying to modify the controls of a Panel,




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: