// Created: 17/09/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "cursor.h"
-#endif
-
#include "wx/cursor.h"
#include "wx/gdicmn.h"
#include "wx/icon.h"
wxFAIL_MSG( wxT("wxCursor creation from bits not yet implemented") );
}
-
-wxCursor::wxCursor( const wxCursor &cursor )
-{
- Ref( cursor );
-}
-
#if wxUSE_IMAGE
wxCursor::wxCursor( const wxImage & image )
{
{
}
-wxCursor& wxCursor::operator = ( const wxCursor& cursor )
-{
- if (*this == cursor)
- return (*this);
-
- Ref( cursor );
-
- return *this;
-}
-
bool wxCursor::operator == ( const wxCursor& cursor ) const
{
return m_refData == cursor.m_refData;