X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/edf6a063410b3fa401c913153a64f81d700fbda4..d5ae99f5e8dca72f160d7002576a3736dccb6f65:/include/wx/x11/pen.h?ds=sidebyside diff --git a/include/wx/x11/pen.h b/include/wx/x11/pen.h index 79b8c0b683..7b7937c264 100644 --- a/include/wx/x11/pen.h +++ b/include/wx/x11/pen.h @@ -12,7 +12,7 @@ #ifndef _WX_PEN_H_ #define _WX_PEN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "pen.h" #endif @@ -38,7 +38,7 @@ class wxPen: public wxGDIObject public: wxPen() { } - wxPen( const wxColour &colour, int width, int style ); + wxPen( const wxColour &colour, int width = 1, int style = wxSOLID ); wxPen( const wxBitmap &stipple, int width ); ~wxPen();