Use Update() instead of yielding and waiting for the update to happen there.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-03-17 22:35:53 +00:00
parent c20ab85b60
commit 0b634ddd08

View File

@ -108,9 +108,8 @@ wxBusyInfo::wxBusyInfo(const wxString& message, wxWindow *parent)
#ifdef __WXMAC__
m_InfoFrame->Update() ;
#else
wxYield();
m_InfoFrame->Refresh();
wxYield();
m_InfoFrame->Update();
#endif
}
@ -118,7 +117,6 @@ wxBusyInfo::~wxBusyInfo()
{
m_InfoFrame->Show(false);
m_InfoFrame->Close();
wxYield();
}
#endif