X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..a6140a4c171601c75c8ab91e8c79bc7f28df8266:/src/mgl/utils.cpp diff --git a/src/mgl/utils.cpp b/src/mgl/utils.cpp index 3f98e977ee..ec8ed4ff07 100644 --- a/src/mgl/utils.cpp +++ b/src/mgl/utils.cpp @@ -4,7 +4,7 @@ // Author: Vaclav Slavik // Id: $Id$ // Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com) -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // For compilers that support precompilation, includes "wx.h". @@ -51,14 +51,18 @@ void wxBell() void wxSleep(int nSecs) { - wxUsleep(1000 * nSecs); + wxMilliSleep(1000 * nSecs); } -void wxUsleep(unsigned long milliseconds) +void wxMilliSleep(unsigned long milliseconds) { PM_sleep(milliseconds); } +void wxMicroSleep(unsigned long microseconds) +{ + wxMilliSleep(microseconds/1000); +} bool wxGetEnv(const wxString& var, wxString *value) { @@ -141,7 +145,7 @@ bool wxGetFullHostName(wxChar *WXUNUSED(buf), int WXUNUSED(sz)) return FALSE; } -int wxKill(long WXUNUSED(pid), wxSignal WXUNUSED(sig), wxKillError *WXUNUSED(rc)) +int wxKill(long WXUNUSED(pid), wxSignal WXUNUSED(sig), wxKillError *WXUNUSED(rc), int WXUNUSED(flags)) { wxFAIL_MSG( wxT("wxKill not implemented under MS-DOS!") ); return 0;