X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/62a9d04c7d9cd359f692f72db2adb781b17b4e69..699e27dc99b7ff2c275a090bfa5597eed8e1fbad:/include/wx/utils.h diff --git a/include/wx/utils.h b/include/wx/utils.h index 439325d635..88ad888f3d 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -257,7 +257,13 @@ WXDLLIMPEXP_BASE bool wxShell(const wxString& command, wxArrayString& output); WXDLLIMPEXP_BASE void wxSleep(int nSecs); // Sleep for a given amount of milliseconds -WXDLLIMPEXP_BASE void wxUsleep(unsigned long milliseconds); +WXDLLIMPEXP_BASE void wxMilliSleep(unsigned long milliseconds); + +// Sleep for a given amount of microseconds +WXDLLIMPEXP_BASE void wxMicroSleep(unsigned long microseconds); + +// Sleep for a given amount of milliseconds (old, bad name), use wxMilliSleep +wxDEPRECATED( WXDLLIMPEXP_BASE void wxUsleep(unsigned long milliseconds) ); // Get the process id of the current process WXDLLIMPEXP_BASE unsigned long wxGetProcessId();