jahurt644@netscape.net wrote:
>>This came up a while back, and from what I remember Refresh() pretty
>>much just marks the window as "dirty" but calling Update() causes the
>>dirty window to be immediately repainted. So you call Refresh() then
>>Update(). I think ...
>>
>>
>
>
>
>>Paul Probert
>>
>>
>
>I tried that and it didn't work. What I ended up doing was following Refresh() with wxPostEvent(self, wxPyEvent()), and that seems to produce the desired behaviour (haven't tried it on MSWin yet). Seems like a bit of a hack though... I'd appreciate some more input if anyone has any ideas... thanks
>
>I haven't been following this conversation particularly, but from what I
see here, it seems that calling wxWakeUpIdle() may help. You may be
stacking up various tasks to be done the next time that the event queue
becomes empty... but if that queue is *already* empty, then an event
needs to happen before it can *become* empty again. That's what sending
that dummy event does, but wxWakeUpIdle() should do the same thing a bit
more cleanly.Jeff Shannon
Technician/Programmer
Credit International---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
I gave it a few test runs and that seems to work... thanks
ยทยทยท
On Wed, 2004-09-29 at 11:49, Jeff Shannon wrote:
__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at AOList Teil der Yahoo Markenfamilie
Netscape. Just the Net You Need.
New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at AOList Teil der Yahoo Markenfamilie