]> git.saurik.com Git - wxWidgets.git/commitdiff
Use Update() instead of yielding and waiting for the update to happen there.
authorRobin Dunn <robin@alldunn.com>
Thu, 17 Mar 2005 22:35:53 +0000 (22:35 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 17 Mar 2005 22:35:53 +0000 (22:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/busyinfo.cpp

index 9def84ca346e444e1f3ab0442e2c08cc84373f59..63088b3c3d45f19e2532794bfb2560a98b6a8910 100644 (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