]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/pen.cpp
vc6 did not like this (void function returning a value)
[wxWidgets.git] / src / x11 / pen.cpp
index f6dccc9a9ea68cb614d0729e64a473db4330b48d..23cf2ca01e3f0439131e304a67753e8669f422ea 100644 (file)
 // for compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
-#include "wx/utils.h"
 #include "wx/pen.h"
-#include "wx/colour.h"
-#include "wx/bitmap.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/utils.h"
+    #include "wx/bitmap.h"
+    #include "wx/colour.h"
+#endif
 
 //-----------------------------------------------------------------------------
 // wxPen
@@ -147,7 +150,7 @@ void wxPen::SetStipple( wxBitmap *stipple )
 {
     AllocExclusive();
 
-    M_PENDATA->m_stipple = *stipple;;
+    M_PENDATA->m_stipple = *stipple;
 }
 
 void wxPen::SetStyle( int style )