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:
parent
c20ab85b60
commit
0b634ddd08
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user