]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/busyinfo.cpp
This should make the GTK statictext control wrap
[wxWidgets.git] / src / generic / busyinfo.cpp
index 9def84ca346e444e1f3ab0442e2c08cc84373f59..f3f737f4b8212e6b9716b33f69e1bda1c2ab826c 100644 (file)
@@ -105,20 +105,14 @@ wxBusyInfo::wxBusyInfo(const wxString& message, wxWindow *parent)
 {
     m_InfoFrame = new wxInfoFrame( parent, message);
     m_InfoFrame->Show(true);
-#ifdef __WXMAC__
-    m_InfoFrame->Update() ;
-#else
-    wxYield();
     m_InfoFrame->Refresh();
-    wxYield();
-#endif
+    m_InfoFrame->Update();
 }
 
 wxBusyInfo::~wxBusyInfo()
 {
     m_InfoFrame->Show(false);
     m_InfoFrame->Close();
-    wxYield();
 }
 
 #endif