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:
@@ -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__
|
||||
|
Reference in New Issue
Block a user