// wxWin macros
// ----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxCursorBase)
+IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxGDIObject)
// ----------------------------------------------------------------------------
// globals
m_width = 32;
m_height = 32;
- refData->m_destroyCursor = TRUE;
+ m_destroyCursor = TRUE;
}
void wxCursorRefData::Free()
refData->m_hCursor = (WXHCURSOR) LoadCursor((HINSTANCE) NULL, IDC_ARROW);
break;
}
-#endif
// no need to destroy the stock cursors
- refData->m_destroyCursor = FALSE;
+ // TODO: check this
+ //m_refData->m_destroyCursor = FALSE;
+#endif
}
wxCursor::~wxCursor()