X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a24aff654fb10971e82abccc1b56217d556d447b..b33f7651ae55310d7d76b0205e409464ba8af484:/include/wx/cocoa/cursor.h diff --git a/include/wx/cocoa/cursor.h b/include/wx/cocoa/cursor.h index f37bf2d0fd..e51ead594d 100644 --- a/include/wx/cocoa/cursor.h +++ b/include/wx/cocoa/cursor.h @@ -12,13 +12,13 @@ #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) @@ -29,6 +29,7 @@ public: ~wxCursorRefData(); protected: + int m_width, m_height; }; #define M_CURSORDATA ((wxCursorRefData *)m_refData)