#include "wx/bitmap.h"
#include "wx/icon.h"
#include "wx/cursor.h"
+ #include "wx/settings.h"
#endif
#include "wx/ptr_scpd.h"
m_refData = new wxCursorRefData(hcursor, true /* delete it later */);
#if WXWIN_COMPATIBILITY_2
- refData->SetOk();
+ ((wxCursorRefData *)m_refData)->SetOk();
#endif // WXWIN_COMPATIBILITY_2
}
}