/////////////////////////////////////////////////////////////////////////////
-// Name: brush.h
+// Name: wx/gtk1/brush.h
// Purpose:
// Author: Robert Roebling
// Id: $Id$
#ifndef __GTKBRUSHH__
#define __GTKBRUSHH__
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface
-#endif
-
#include "wx/defs.h"
#include "wx/object.h"
#include "wx/string.h"
// classes
//-----------------------------------------------------------------------------
-class WXDLLIMPEXP_CORE wxBrush;
+class WXDLLIMPEXP_FWD_CORE wxBrush;
//-----------------------------------------------------------------------------
// wxBrush
wxBrush( const wxColour &colour, int style = wxSOLID );
wxBrush( const wxBitmap &stippleBitmap );
- ~wxBrush();
-
- wxBrush( const wxBrush &brush )
- : wxBrushBase()
- { Ref(brush); }
- wxBrush& operator = ( const wxBrush& brush ) { Ref(brush); return *this; }
+ virtual ~wxBrush();
- bool Ok() const { return m_refData != NULL; }
+ bool Ok() const { return IsOk(); }
+ bool IsOk() const { return m_refData != NULL; }
bool operator == ( const wxBrush& brush ) const;
bool operator != (const wxBrush& brush) const { return !(*this == brush); }