X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/54385bdb3f485f25656511b5a6b1b8ced03e0688..991d57f8443fc8a31c2ad3e3a8180af08a6394d6:/src/x11/cursor.cpp diff --git a/src/x11/cursor.cpp b/src/x11/cursor.cpp index fe53a0a5e9..77ac73f161 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; @@ -206,7 +186,7 @@ void wxEndBusyCursor() wxTheApp->ProcessIdle(); } -void wxBeginBusyCursor( wxCursor *WXUNUSED(cursor) ) +void wxBeginBusyCursor( const wxCursor *WXUNUSED(cursor) ) { if (gs_busyCount++ > 0) return;