X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/74dc5eb60e80a9b2ceddd78cb577f42e48f5b3ba..27d2dbbccadf25bb1d892fe1c4afbf74cf76bb36:/include/wx/x11/brush.h?ds=sidebyside 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();