X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..39c0acb66674c5e0424633cf162e6c10c92178d4:/include/wx/msw/brush.h?ds=sidebyside diff --git a/include/wx/msw/brush.h b/include/wx/msw/brush.h index 842e259d27..4b0b124af4 100644 --- a/include/wx/msw/brush.h +++ b/include/wx/msw/brush.h @@ -12,7 +12,7 @@ #ifndef _WX_BRUSH_H_ #define _WX_BRUSH_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "brush.h" #endif @@ -30,7 +30,7 @@ class WXDLLEXPORT wxBrush : public wxGDIObject { public: wxBrush(); - wxBrush(const wxColour& col, int style); + wxBrush(const wxColour& col, int style = wxSOLID); wxBrush(const wxBitmap& stipple); wxBrush(const wxBrush& brush) { Ref(brush); } virtual ~wxBrush();