copying native cursor under cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
849252d51c
commit
ad05cdb74c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user