#pragma implementation "clipbrd.h"
#endif
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
#include "wx/clipbrd.h"
#if wxUSE_CLIPBOARD
// #pragma implementation
#endif
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
#include "wx/defs.h"
#include "wx/object.h"
#include "wx/window.h"
#pragma implementation "font.h"
#endif
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
#include "wx/font.h"
#include "wx/fontutil.h"
#include "wx/cmndata.h"
#include "wx/tokenzr.h"
#include "wx/settings.h"
-#include <strings.h>
-
// ----------------------------------------------------------------------------
// wxFontRefData
// ----------------------------------------------------------------------------
#pragma implementation "fontenum.h"
#endif
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
#include "wx/defs.h"
#include "wx/dynarray.h"
#include "wx/string.h"
#pragma implementation "pen.h"
#endif
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
#include "wx/pen.h"
#include "wx/bitmap.h"
#include "wx/mgl/private.h"
static wxRegionRectList *gs_rectList;
-static void wxMGL_region_callback(const rect_t *r)
+static void MGLAPI wxMGL_region_callback(const rect_t *r)
{
gs_rectList->Append(new wxRect(r->left, r->top,
r->right - r->left, r->bottom - r->top));
#pragma implementation "settings.h"
#endif
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
#include "wx/settings.h"
#include "wx/colour.h"
#include "wx/font.h"
#pragma implementation "timer.h"
#endif
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
#include "wx/timer.h"
#if wxUSE_TIMER
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
#include "wx/utils.h"
#include "wx/string.h"
int wxGetOsVersion(int *majorVsn, int *minorVsn)
{
- if ( majorVsn )
- *majorVsn = MGL_RELEASE_MAJOR;
- if ( minorVsn )
- *minorVsn = MGL_RELEASE_MINOR;
+ if ( majorVsn )
+ *majorVsn = MGL_RELEASE_MAJOR;
+ if ( minorVsn )
+ *minorVsn = MGL_RELEASE_MINOR;
#if defined(__UNIX__)
- return wxMGL_UNIX;
+ return wxMGL_UNIX;
#elif defined(__OS2__)
- return wxMGL_OS2;
+ return wxMGL_OS2;
#elif defined(__WIN32__)
- return wxMGL_WIN32;
+ return wxMGL_WIN32;
+#elif defined(__DOS__)
+ return wxMGL_DOS;
+#else
+ #error Platform not supported by wxMGL!
#endif
}