]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/brush.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / palmos / brush.cpp
index 2719da49547689670ab479024cb5eb07e7c824b1..9cee09616c508cc1e341eb5499d937c4f59b8589 100644 (file)
@@ -1,10 +1,10 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        src/palmos/brush.cpp
 // Purpose:     wxBrush
-// Author:      William Osborne
+// Author:      William Osborne - minimal working wxPalmOS port
 // Modified by:
 // Created:     10/13/04
-// RCS-ID:      $Id
+// RCS-ID:      $Id$
 // Copyright:   (c) William Osborne
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 // declarations
 // ============================================================================
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "brush.h"
-#endif
-
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
@@ -33,6 +29,7 @@
     #include "wx/utils.h"
     #include "wx/app.h"
     #include "wx/brush.h"
+    #include "wx/colour.h"
 #endif // WX_PRECOMP
 
 // ----------------------------------------------------------------------------
@@ -69,14 +66,9 @@ wxBrush::~wxBrush()
 // wxBrush house keeping stuff
 // ----------------------------------------------------------------------------
 
-wxBrush& wxBrush::operator=(const wxBrush& brush)
-{
-    return *this;
-}
-
 bool wxBrush::operator==(const wxBrush& brush) const
 {
-    return FALSE;
+    return false;
 }
 
 wxObjectRefData *wxBrush::CreateRefData() const
@@ -117,20 +109,18 @@ WXHANDLE wxBrush::GetResourceHandle() const
 // wxBrush setters
 // ----------------------------------------------------------------------------
 
-void wxBrush::SetColour(const wxColour& col)
+void wxBrush::SetColour(const wxColour& WXUNUSED(col))
 {
 }
 
-void wxBrush::SetColour(unsigned char r, unsigned char g, unsigned char b)
+void wxBrush::SetColour(unsigned char WXUNUSED(r), unsigned char WXUNUSED(g), unsigned char WXUNUSED(b))
 {
 }
 
-void wxBrush::SetStyle(int style)
+void wxBrush::SetStyle(int WXUNUSED(style))
 {
 }
 
-void wxBrush::SetStipple(const wxBitmap& stipple)
+void wxBrush::SetStipple(const wxBitmap& WXUNUSED(stipple))
 {
 }
-
-