X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/74dc5eb60e80a9b2ceddd78cb577f42e48f5b3ba..c845a1975a3d6d79b19a7ec77bd8e0b8b8850751:/include/wx/x11/brush.h diff --git a/include/wx/x11/brush.h b/include/wx/x11/brush.h index 25f2efd422..4ea94c15fc 100644 --- a/include/wx/x11/brush.h +++ b/include/wx/x11/brush.h @@ -12,19 +12,19 @@ #ifndef _WX_BRUSH_H_ #define _WX_BRUSH_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "brush.h" #endif -#include "wx/gdicmn.h" #include "wx/gdiobj.h" -#include "wx/bitmap.h" //----------------------------------------------------------------------------- // classes //----------------------------------------------------------------------------- class wxBrush; +class wxColour; +class wxBitmap; //----------------------------------------------------------------------------- // wxBrush @@ -35,7 +35,7 @@ class wxBrush: public wxGDIObject public: wxBrush() { } - wxBrush( const wxColour &colour, int style ); + wxBrush( const wxColour &colour, int style = wxSOLID ); wxBrush( const wxBitmap &stippleBitmap ); ~wxBrush();