Removed warnings from ipcbase.cpp

Removed extra wxYields from progress dialog
Yield on wxX11 yields twice


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-09-01 17:02:36 +00:00
parent a679468530
commit bbcd408aa7
5 changed files with 52 additions and 59 deletions

View File

@@ -269,11 +269,6 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
// Update the display (especially on X, GTK)
wxYield();
// FIXME: shouldn't be needed
#ifdef __WXX11__
wxYield();
#endif
#ifdef __WXMAC__
MacUpdateImmediately();
#endif
@@ -337,11 +332,6 @@ wxProgressDialog::Update(int value, const wxString& newmsg)
m_msg->SetLabel(newmsg);
wxYield();
// FIXME: shouldn't be needed
#ifdef __WXX11__
wxYield();
#endif
}
if ( (m_elapsed || m_remaining || m_estimated) && (value != 0) )
@@ -382,11 +372,6 @@ wxProgressDialog::Update(int value, const wxString& newmsg)
wxYield();
// FIXME: shouldn't be needed
#ifdef __WXX11__
wxYield();
#endif
(void)ShowModal();
}
else // auto hide
@@ -403,11 +388,6 @@ wxProgressDialog::Update(int value, const wxString& newmsg)
{
// update the display
wxYield();
// FIXME: shouldn't be needed
#ifdef __WXX11__
wxYield();
#endif
}
#ifdef __WXMAC__