Compilation fixes for wxMGL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2005-04-22 13:25:35 +00:00
parent 5dc6072884
commit 90eb13e62e
3 changed files with 8 additions and 4 deletions

View File

@@ -22,7 +22,6 @@
#ifndef WX_PRECOMP
#include "wx/settings.h"
#include "wx/module.h"
#include "wx/evtloop.h"
#include "wx/frame.h"
#include "wx/dialog.h"
#include "wx/log.h"
@@ -30,6 +29,7 @@
#endif
#include "wx/app.h"
#include "wx/evtloop.h"
#include "wx/fontutil.h"
#include "wx/univ/theme.h"
#include "wx/univ/renderer.h"

View File

@@ -54,11 +54,15 @@ void wxSleep(int nSecs)
wxUsleep(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;

View File

@@ -37,7 +37,6 @@
#include "wx/utils.h"
#include "wx/app.h"
#include "wx/panel.h"
#include "wx/caret.h"
#endif
#if wxUSE_DRAG_AND_DROP
@@ -49,6 +48,7 @@
#include "wx/mgl/private.h"
#include "wx/intl.h"
#include "wx/dcscreen.h"
#include "wx/caret.h"
#include <mgraph.hpp>