X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4bbc9f720cbd99d7092e8944e671a6291068b13..d14e03f5b719ce6dbe4a0e81b22ae8436bd230ae:/include/wx/mgl/private.h?ds=sidebyside diff --git a/include/wx/mgl/private.h b/include/wx/mgl/private.h index 02c174f892..6b56a9d0b1 100644 --- a/include/wx/mgl/private.h +++ b/include/wx/mgl/private.h @@ -1,19 +1,25 @@ ///////////////////////////////////////////////////////////////////////////// // 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" + +// the scitech headers define true and false +#undef true +#undef false class WXDLLEXPORT wxBitmap; @@ -33,9 +39,9 @@ extern winmng_t *g_winMng; // 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 @@ -49,7 +55,4 @@ public: }; -extern bool wxCreateMGL_WM(); -extern void wxDestroyMGL_WM(); - -#endif // _WX_PRIVATE_H_ +#endif // _WX_MGL_PRIVATE_H_