X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..8b4457965a0c0d0ef828dbf7cca3d2f947083054:/src/x11/cursor.cpp diff --git a/src/x11/cursor.cpp b/src/x11/cursor.cpp index 014064ea69..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" @@ -125,19 +121,13 @@ wxCursor::wxCursor(const char bits[], int width, int height, int hotSpotX, int hotSpotY, const char maskBits[], wxColour *fg, wxColour *bg) { - wxFAIL_MSG( "wxCursor creation from bits not yet implemented" ); -} - - -wxCursor::wxCursor( const wxCursor &cursor ) -{ - Ref( cursor ); + wxFAIL_MSG( wxT("wxCursor creation from bits not yet implemented") ); } #if wxUSE_IMAGE wxCursor::wxCursor( const wxImage & image ) { - wxFAIL_MSG( "wxCursor creation from wxImage not yet implemented" ); + wxFAIL_MSG( wxT("wxCursor creation from wxImage not yet implemented") ); } #endif @@ -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;