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:
@@ -22,7 +22,6 @@
|
|||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/settings.h"
|
#include "wx/settings.h"
|
||||||
#include "wx/module.h"
|
#include "wx/module.h"
|
||||||
#include "wx/evtloop.h"
|
|
||||||
#include "wx/frame.h"
|
#include "wx/frame.h"
|
||||||
#include "wx/dialog.h"
|
#include "wx/dialog.h"
|
||||||
#include "wx/log.h"
|
#include "wx/log.h"
|
||||||
@@ -30,6 +29,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/app.h"
|
#include "wx/app.h"
|
||||||
|
#include "wx/evtloop.h"
|
||||||
#include "wx/fontutil.h"
|
#include "wx/fontutil.h"
|
||||||
#include "wx/univ/theme.h"
|
#include "wx/univ/theme.h"
|
||||||
#include "wx/univ/renderer.h"
|
#include "wx/univ/renderer.h"
|
||||||
|
@@ -54,11 +54,15 @@ void wxSleep(int nSecs)
|
|||||||
wxUsleep(1000 * nSecs);
|
wxUsleep(1000 * nSecs);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxUsleep(unsigned long milliseconds)
|
void wxMilliSleep(unsigned long milliseconds)
|
||||||
{
|
{
|
||||||
PM_sleep(milliseconds);
|
PM_sleep(milliseconds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void wxMicroSleep(unsigned long microseconds)
|
||||||
|
{
|
||||||
|
wxMilliSleep(microseconds/1000);
|
||||||
|
}
|
||||||
|
|
||||||
bool wxGetEnv(const wxString& var, wxString *value)
|
bool wxGetEnv(const wxString& var, wxString *value)
|
||||||
{
|
{
|
||||||
@@ -141,7 +145,7 @@ bool wxGetFullHostName(wxChar *WXUNUSED(buf), int WXUNUSED(sz))
|
|||||||
return FALSE;
|
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!") );
|
wxFAIL_MSG( wxT("wxKill not implemented under MS-DOS!") );
|
||||||
return 0;
|
return 0;
|
||||||
|
@@ -37,7 +37,6 @@
|
|||||||
#include "wx/utils.h"
|
#include "wx/utils.h"
|
||||||
#include "wx/app.h"
|
#include "wx/app.h"
|
||||||
#include "wx/panel.h"
|
#include "wx/panel.h"
|
||||||
#include "wx/caret.h"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if wxUSE_DRAG_AND_DROP
|
#if wxUSE_DRAG_AND_DROP
|
||||||
@@ -49,6 +48,7 @@
|
|||||||
#include "wx/mgl/private.h"
|
#include "wx/mgl/private.h"
|
||||||
#include "wx/intl.h"
|
#include "wx/intl.h"
|
||||||
#include "wx/dcscreen.h"
|
#include "wx/dcscreen.h"
|
||||||
|
#include "wx/caret.h"
|
||||||
|
|
||||||
#include <mgraph.hpp>
|
#include <mgraph.hpp>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user