]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/pen.cpp
Move the language catalogs install directory on MSW from 'locale' to
[wxWidgets.git] / src / mgl / pen.cpp
index 5e125c2d03c201efeb3afaaf168c41b951f6e118..35f6247489365cfa544a65573f1e20f80481856b 100644 (file)
 #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"
 
 //-----------------------------------------------------------------------------
@@ -103,18 +107,6 @@ wxPen::wxPen(const wxBitmap& stipple, int width)
     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;