wxYield, wxSafeYield, wxYieldIfNeeded revisited

Kevin Altis wrote:

After looking in the wxWindows docs for information on wxYield, I realized
that things really haven't changed much in wxPython from our discussion on
this subject back in Decemeber.

  ActiveState Community - Boosting coder and team productivity with ready-to-use open source languages and tools.

Robin, could you clarify the usage of the various wxYield methods and
whether we should be using wxGetApp().Yield(onlyIfNeeded=False) instead of
the wxYield or wxYieldIfNeeded functions? There is nothing in the wxPython
tree that I can find that actually uses wxGetApp().Yield(). Plus, there is
no wxApp equivelant for wxSafeYield, so I guess you have to use the function
wrapper.

It would be nice if there was a wxPython note in the docs under
wxGetApp.Yield, wxYield and wxSafeYield.

wxYield and wxYieldIfNeeded are just wrappers around the wxGetApp().Yield versions. wxSafeYield disables windows first.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!