#endif
#include "wx/pen.h"
-#include "wx/bitmap.h"
-#include "wx/colour.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/bitmap.h"
+ #include "wx/colour.h"
+#endif
+
#include "wx/mgl/private.h"
//-----------------------------------------------------------------------------
wxBitmapToPixPattern(stipple, &(M_PENDATA->m_pixPattern), NULL);
}
-wxPen::wxPen(const wxPen& pen)
-{
- Ref(pen);
-}
-
-wxPen& wxPen::operator = (const wxPen& pen)
-{
- if (*this == pen) return (*this);
- Ref(pen);
- return *this;
-}
-
bool wxPen::operator == (const wxPen& pen) const
{
return m_refData == pen.m_refData;
}
-bool wxPen::Ok() const
+bool wxPen::IsOk() const
{
return (m_refData != NULL);
}