]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/brush.h
Works a little better when you remember to say "virtual"
[wxWidgets.git] / include / wx / mac / brush.h
index 178cf0edf59e36486afbec95eee1576fc0014bf3..12e60e06d157a5536ed8219676db5f5581238b45 100644 (file)
@@ -6,13 +6,13 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_BRUSH_H_
 #define _WX_BRUSH_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "brush.h"
 #endif
 
@@ -37,7 +37,7 @@ class WXDLLEXPORT wxBrush: public wxGDIObject
 public:
   wxBrush();
   wxBrush(short macThemeBrush ) ;
-  wxBrush(const wxColour& col, int style);
+  wxBrush(const wxColour& col, int style = wxSOLID);
   wxBrush(const wxBitmap& stipple);
   wxBrush(const wxBrush& brush)
       : wxGDIObject()