Avoid warnings from mgl headers if possible.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2005-05-19 19:37:59 +00:00
parent b6901bd5ff
commit ec75509f94

View File

@ -10,9 +10,10 @@
// Licence: wxWindows licence // Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
#ifndef _WX_PRIVATE_H_ #ifndef _WX_MGL_PRIVATE_H_
#define _WX_PRIVATE_H_ #define _WX_MGL_PRIVATE_H_
#include "wx/ioswrap.h"
#include <mgraph.hpp> #include <mgraph.hpp>
#include "pmapi.h" #include "pmapi.h"
@ -34,9 +35,9 @@ extern winmng_t *g_winMng;
// This function converts wxBitmap into pixpattern24_t representation // This function converts wxBitmap into pixpattern24_t representation
// (used by wxBrush and wxPen) // (used by wxBrush and wxPen)
extern void wxBitmapToPixPattern(const wxBitmap& bitmap, extern void wxBitmapToPixPattern(const wxBitmap& bitmap,
pixpattern24_t *pix, pattern_t *mask); pixpattern24_t *pix, pattern_t *mask);
// Sets current DC and restores previous one upon destruction: // Sets current DC and restores previous one upon destruction:
class wxCurrentDCSwitcher class wxCurrentDCSwitcher
@ -50,4 +51,4 @@ public:
}; };
#endif // _WX_PRIVATE_H_ #endif // _WX_MGL_PRIVATE_H_