X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..05f4dfa7268b60d2f56a685933c49f3d3d4be745:/include/wx/mgl/private.h diff --git a/include/wx/mgl/private.h b/include/wx/mgl/private.h index 1d86262a13..7b8c86a31c 100644 --- a/include/wx/mgl/private.h +++ b/include/wx/mgl/private.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: private.h +// Name: wx/mgl/private.h // Purpose: Private declarations: as this header is only included by // wxWidgets itself, it may contain identifiers which don't start // with "wx". @@ -10,13 +10,18 @@ // 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; // --------------------------------------------------------------------------- @@ -34,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 @@ -50,4 +55,4 @@ public: }; -#endif // _WX_PRIVATE_H_ +#endif // _WX_MGL_PRIVATE_H_