]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/brush.cpp
fixed typo
[wxWidgets.git] / src / gtk / brush.cpp
index c6b35cc4a26b4b11504f715bc2820fe3fcd327fd..1c08f89f07deba06ef9ef626b06f804c2b9f9148 100644 (file)
@@ -7,11 +7,15 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "brush.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/brush.h"
+#include "wx/colour.h"
 
 #include <gdk/gdk.h>
 
@@ -28,6 +32,7 @@ public:
     }
     
     wxBrushRefData( const wxBrushRefData& data )
+        : wxObjectRefData()
     {
         m_style = data.m_style;
         m_stipple = data.m_stipple;