#include "wx/cursor.h"
#ifndef WX_PRECOMP
+ #include "wx/msw/missing.h" // IDC_HAND
#include "wx/utils.h"
#include "wx/app.h"
#include "wx/bitmap.h"
#endif
#include "wx/msw/private.h"
-#include "wx/msw/missing.h" // IDC_HAND
// define functions missing in MicroWin
#ifdef __WXMICROWIN__
// other wxCursor functions
// ----------------------------------------------------------------------------
-bool wxCursor::operator==(const wxCursor& cursor) const
-{
- if ( !m_refData )
- return !cursor.m_refData;
-
- return cursor.m_refData &&
- ((wxCursorRefData *)m_refData)->m_hCursor ==
- ((wxCursorRefData *)cursor.m_refData)->m_hCursor;
-}
-
wxGDIImageRefData *wxCursor::CreateData() const
{
return new wxCursorRefData;