X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c89f5c02b1ecc6098b21b39b01509dd387c1cb34..3b96fc2f1b64f78bba7c755a5c14f618962f696b:/src/gtk1/brush.cpp diff --git a/src/gtk1/brush.cpp b/src/gtk1/brush.cpp index c6b35cc4a2..f3278719ca 100644 --- a/src/gtk1/brush.cpp +++ b/src/gtk1/brush.cpp @@ -7,11 +7,11 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#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 @@ -28,6 +28,7 @@ public: } wxBrushRefData( const wxBrushRefData& data ) + : wxObjectRefData() { m_style = data.m_style; m_stipple = data.m_stipple;