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:
@@ -108,9 +108,8 @@ wxBusyInfo::wxBusyInfo(const wxString& message, wxWindow *parent)
|
|||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
m_InfoFrame->Update() ;
|
m_InfoFrame->Update() ;
|
||||||
#else
|
#else
|
||||||
wxYield();
|
|
||||||
m_InfoFrame->Refresh();
|
m_InfoFrame->Refresh();
|
||||||
wxYield();
|
m_InfoFrame->Update();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -118,7 +117,6 @@ wxBusyInfo::~wxBusyInfo()
|
|||||||
{
|
{
|
||||||
m_InfoFrame->Show(false);
|
m_InfoFrame->Show(false);
|
||||||
m_InfoFrame->Close();
|
m_InfoFrame->Close();
|
||||||
wxYield();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user