X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..d7b284e5c62523c9a43e26977672b4ff7c5b8981:/src/x11/cursor.cpp diff --git a/src/x11/cursor.cpp b/src/x11/cursor.cpp index fe53a0a5e9..0635c03de7 100644 --- a/src/x11/cursor.cpp +++ b/src/x11/cursor.cpp @@ -9,10 +9,6 @@ // 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" @@ -128,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 ) { @@ -145,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;