X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c89f5c02b1ecc6098b21b39b01509dd387c1cb34..9c112555198f51fcec71106530cddba95a17f3dc:/src/gtk1/brush.cpp diff --git a/src/gtk1/brush.cpp b/src/gtk1/brush.cpp index c6b35cc4a2..1c08f89f07 100644 --- a/src/gtk1/brush.cpp +++ b/src/gtk1/brush.cpp @@ -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 @@ -28,6 +32,7 @@ public: } wxBrushRefData( const wxBrushRefData& data ) + : wxObjectRefData() { m_style = data.m_style; m_stipple = data.m_stipple;