X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69c4481222795d89f470020b63ec788bb717c0b3..32485259c1342115488d219776dfebeb3d4d81b1:/include/wx/x11/pen.h?ds=sidebyside diff --git a/include/wx/x11/pen.h b/include/wx/x11/pen.h index 3f83b5ab43..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_ -#ifdef __GNUG__ +#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();