Index: pgSet.cpp =================================================================== RCS file: /projects/pgadmin3/src/db/pgSet.cpp,v retrieving revision 1.46 retrieving revision 1.47 diff -Lsrc/db/pgSet.cpp -Lsrc/db/pgSet.cpp -u -w -r1.46 -r1.47 --- src/db/pgSet.cpp +++ src/db/pgSet.cpp @@ -360,7 +360,7 @@ if (PQisBusy(conn->conn)) { Yield(); - wxUsleep(10); + wxMilliSleep(10); continue; } Index: dlgClasses.cpp =================================================================== RCS file: /projects/pgadmin3/src/ui/dlgClasses.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -Lsrc/ui/dlgClasses.cpp -Lsrc/ui/dlgClasses.cpp -u -w -r1.7 -r1.8 --- src/ui/dlgClasses.cpp +++ src/ui/dlgClasses.cpp @@ -226,7 +226,7 @@ while (thread && thread->IsRunning()) { - wxUsleep(10); + wxMilliSleep(10); // here could be the animation if (txtMessages) txtMessages->AppendText(thread->GetMessagesAndClear()); Index: frmEditGrid.cpp =================================================================== RCS file: /projects/pgadmin3/src/ui/frmEditGrid.cpp,v retrieving revision 1.54 retrieving revision 1.55 diff -Lsrc/ui/frmEditGrid.cpp -Lsrc/ui/frmEditGrid.cpp -u -w -r1.54 -r1.55 --- src/ui/frmEditGrid.cpp +++ src/ui/frmEditGrid.cpp @@ -612,7 +612,7 @@ while (thread && thread->IsRunning()) { wxYield(); - wxUsleep(10); + wxMilliSleep(10); } if (!thread) return;