X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c23a0b01b3fb667ec41fc8271ce1ee5b5aa4e19..7a11869dde55ba034e280fd7a764872c8de642cf:/include/wx/stubs/cursor.h diff --git a/include/wx/stubs/cursor.h b/include/wx/stubs/cursor.h index 5484414e7b..027745838a 100644 --- a/include/wx/stubs/cursor.h +++ b/include/wx/stubs/cursor.h @@ -57,7 +57,8 @@ public: wxCursor(int cursor_type); ~wxCursor(); - virtual bool Ok() const { return (m_refData != NULL && M_CURSORDATA->m_hCursor) ; } + // TODO: also verify the internal cursor handle + virtual bool Ok() const { return (m_refData != NULL) ; } 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; } @@ -69,5 +70,7 @@ public: */ }; +extern WXDLLEXPORT void wxSetCursor(const wxCursor& cursor); + #endif // _WX_CURSOR_H_