X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/127eab18f80e5b298b8c0326609ed811035e6829..3c31306c74e878e6888b6c73a44a337516717d73:/src/mgl/cursor.cpp?ds=sidebyside diff --git a/src/mgl/cursor.cpp b/src/mgl/cursor.cpp index d2334ba0d2..b2a4c69a7c 100644 --- a/src/mgl/cursor.cpp +++ b/src/mgl/cursor.cpp @@ -167,24 +167,11 @@ wxCursor::wxCursor(const wxString& cursor_file, } } -wxCursor::wxCursor(const wxCursor &cursor) -{ - Ref(cursor); -} - wxCursor::~wxCursor() { // wxObject unrefs data } -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);