#ifndef _WX_COCOA_CURSOR_H_
#define _WX_COCOA_CURSOR_H_
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "cursor.h"
#endif
#include "wx/bitmap.h"
-class WXDLLEXPORT wxCursorRefData: public wxBitmapRefData
+class WXDLLEXPORT wxCursorRefData: public wxObjectRefData
{
DECLARE_NO_COPY_CLASS(wxCursorRefData)
~wxCursorRefData();
protected:
+ int m_width, m_height;
};
#define M_CURSORDATA ((wxCursorRefData *)m_refData)