]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/pen.cpp
Include wx/validate.h and wx/valtext.h according to precompiled headers of wx/wx...
[wxWidgets.git] / src / x11 / pen.cpp
index f6dccc9a9ea68cb614d0729e64a473db4330b48d..c89e957e6bb0fe67c3ac9625504710ed129eb0ef 100644 (file)
 // for compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
-#include "wx/utils.h"
 #include "wx/pen.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/utils.h"
+#endif
+
 #include "wx/colour.h"
 #include "wx/bitmap.h"
 
@@ -147,7 +151,7 @@ void wxPen::SetStipple( wxBitmap *stipple )
 {
     AllocExclusive();
 
-    M_PENDATA->m_stipple = *stipple;;
+    M_PENDATA->m_stipple = *stipple;
 }
 
 void wxPen::SetStyle( int style )