X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8f7b34a878bbcb2f71a0c7694e2a3bec51460218..b7e9f8b136c02826c7e5b3bf9b339d2013ac05f6:/include/wx/mgl/private.h diff --git a/include/wx/mgl/private.h b/include/wx/mgl/private.h index 1b555e75db..04560002b6 100644 --- a/include/wx/mgl/private.h +++ b/include/wx/mgl/private.h @@ -1,21 +1,27 @@ ///////////////////////////////////////////////////////////////////////////// // Name: private.h // Purpose: Private declarations: as this header is only included by -// wxWindows itself, it may contain identifiers which don't start +// wxWidgets itself, it may contain identifiers which don't start // with "wx". // Author: Vaclav Slavik // Created: 2001/04/07 // RCS-ID: $Id$ -// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com) +// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef _WX_PRIVATE_H_ -#define _WX_PRIVATE_H_ +#ifndef _WX_MGL_PRIVATE_H_ +#define _WX_MGL_PRIVATE_H_ +#include "wx/ioswrap.h" #include +#include "pmapi.h" -class WXDLLEXPORT wxBitmap; +// the scitech headers define true and false +#undef true +#undef false + +class WXDLLIMPEXP_FWD_CORE wxBitmap; // --------------------------------------------------------------------------- @@ -23,6 +29,7 @@ class WXDLLEXPORT wxBitmap; // --------------------------------------------------------------------------- extern MGLDevCtx *g_displayDC; +extern winmng_t *g_winMng; // --------------------------------------------------------------------------- // helper functions @@ -32,9 +39,9 @@ extern MGLDevCtx *g_displayDC; // This function converts wxBitmap into pixpattern24_t representation // (used by wxBrush and wxPen) -extern void wxBitmapToPixPattern(const wxBitmap& bitmap, +extern void wxBitmapToPixPattern(const wxBitmap& bitmap, pixpattern24_t *pix, pattern_t *mask); - + // Sets current DC and restores previous one upon destruction: class wxCurrentDCSwitcher @@ -48,4 +55,4 @@ public: }; -#endif // _WX_PRIVATE_H_ +#endif // _WX_MGL_PRIVATE_H_