From ec75509f94fb11322c1c69056d1ec2af8f041fe2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Thu, 19 May 2005 19:37:59 +0000 Subject: [PATCH] Avoid warnings from mgl headers if possible. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mgl/private.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/include/wx/mgl/private.h b/include/wx/mgl/private.h index 1d86262a13..5d38d7670b 100644 --- a/include/wx/mgl/private.h +++ b/include/wx/mgl/private.h @@ -10,9 +10,10 @@ // 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" @@ -34,9 +35,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 +51,4 @@ public: }; -#endif // _WX_PRIVATE_H_ +#endif // _WX_MGL_PRIVATE_H_ -- 2.50.0