X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2c864095a01eeee7516f4608cd66d3235989844f..233f573883834b6c86ad5a9d72fdb6a260f74f81:/src/osx/carbon/cursor.cpp?ds=sidebyside diff --git a/src/osx/carbon/cursor.cpp b/src/osx/carbon/cursor.cpp index 0da3c2ab2f..fddaa09533 100644 --- a/src/osx/carbon/cursor.cpp +++ b/src/osx/carbon/cursor.cpp @@ -233,12 +233,12 @@ wxCursorRefData::wxCursorRefData() wxCursorRefData::wxCursorRefData(const wxCursorRefData& cursor) { - // FIXME: need to copy the cursor m_hCursor = NULL; #if wxOSX_USE_COCOA - wxUnusedVar(cursor); + m_hCursor = (WX_NSCursor) wxMacCocoaRetain(cursor.m_hCursor); #elif wxOSX_USE_CARBON + // FIXME: need to copy the cursor m_disposeHandle = false; m_releaseHandle = false; m_isColorCursor = cursor.m_isColorCursor; @@ -281,11 +281,6 @@ wxCursor::wxCursor( const wxImage &image ) #endif } -wxCursor::wxCursor(const char* const* bits) -{ - (void) CreateFromXpm(bits); -} - wxGDIRefData *wxCursor::CreateGDIRefData() const { return new wxCursorRefData;