X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..5b12cceef870243338e39d4b15536008491de474:/include/wx/cocoa/cursor.h diff --git a/include/wx/cocoa/cursor.h b/include/wx/cocoa/cursor.h index 52e8a32786..ecb60d7329 100644 --- a/include/wx/cocoa/cursor.h +++ b/include/wx/cocoa/cursor.h @@ -30,6 +30,7 @@ public: protected: int m_width, m_height; + WX_NSCursor m_hCursor; }; #define M_CURSORDATA ((wxCursorRefData *)m_refData) @@ -62,6 +63,11 @@ public: inline wxCursor& operator = (const wxCursor& cursor) { if (*this == cursor) return (*this); Ref(cursor); return *this; } inline bool operator == (const wxCursor& cursor) { return m_refData == cursor.m_refData; } inline bool operator != (const wxCursor& cursor) { return m_refData != cursor.m_refData; } + + inline WX_NSCursor GetNSCursor() const + { + return (M_CURSORDATA ? M_CURSORDATA->m_hCursor : 0); + } };