X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/925f7740663f38ed8296ddb247754a9d62152aea..66e09788abd37f13f2e458d37aa3b0b94033e5db:/include/wx/motif/cursor.h diff --git a/include/wx/motif/cursor.h b/include/wx/motif/cursor.h index 2ef7e2dbda..11a68c5364 100644 --- a/include/wx/motif/cursor.h +++ b/include/wx/motif/cursor.h @@ -15,7 +15,7 @@ #include "wx/object.h" #include "wx/gdicmn.h" -class WXDLLEXPORT wxImage; +class WXDLLIMPEXP_FWD_CORE wxImage; // Cursor class WXDLLEXPORT wxCursor: public wxObject @@ -37,14 +37,10 @@ public: #endif wxCursor(wxStockCursor id); - ~wxCursor(); + virtual ~wxCursor(); - virtual bool Ok() const; - - bool operator == (const wxCursor& cursor) const - { return m_refData == cursor.m_refData; } - bool operator != (const wxCursor& cursor) const - { return m_refData != cursor.m_refData; } + virtual bool Ok() const { return IsOk(); } + virtual bool IsOk() const; // Motif-specific. // Create/get a cursor for the current display