#ifndef _WX_REGION_H_
#define _WX_REGION_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "region.h"
-#endif
-
#include "wx/list.h"
#include "wx/gdiobj.h"
#include "wx/gdicmn.h"
// classes
//-----------------------------------------------------------------------------
-class wxRegion;
+class WXDLLIMPEXP_CORE wxRegion;
//-----------------------------------------------------------------------------
// constants
// wxRegion
// ----------------------------------------------------------------------------
-class wxRegion : public wxGDIObject
+class WXDLLIMPEXP_CORE wxRegion : public wxGDIObject
{
public:
wxRegion() { }
~wxRegion();
- wxRegion( const wxRegion& region ) { Ref(region); }
- wxRegion& operator = ( const wxRegion& region ) { Ref(region); return *this; }
-
bool Ok() const { return m_refData != NULL; }
- bool operator == ( const wxRegion& region );
- bool operator != ( const wxRegion& region ) { return !(*this == region); }
+ bool operator == ( const wxRegion& region ) const;
+ bool operator != ( const wxRegion& region ) const { return !(*this == region); }
void Clear();
// wxRegionIterator: decomposes a region into rectangles
// ----------------------------------------------------------------------------
-class wxRegionIterator: public wxObject
+class WXDLLIMPEXP_CORE wxRegionIterator: public wxObject
{
public:
wxRegionIterator();