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;
#endif
}
-wxCursor::wxCursor(const char* const* bits)
-{
- (void) CreateFromXpm(bits);
-}
-
wxGDIRefData *wxCursor::CreateGDIRefData() const
{
return new wxCursorRefData;