X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..b41b09e28513f8b30065914eeb1051a0a32e6e1b:/src/x11/cursor.cpp diff --git a/src/x11/cursor.cpp b/src/x11/cursor.cpp index 7a59872ca1..0635c03de7 100644 --- a/src/x11/cursor.cpp +++ b/src/x11/cursor.cpp @@ -124,12 +124,6 @@ wxCursor::wxCursor(const char bits[], int width, int height, 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 ) { @@ -141,16 +135,6 @@ wxCursor::~wxCursor() { } -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;