X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..a596eeb93f525c64d374f49e5986c57d1ea124a7:/include/wx/motif/cursor.h?ds=sidebyside diff --git a/include/wx/motif/cursor.h b/include/wx/motif/cursor.h index ed65bb52d9..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 @@ -39,12 +39,8 @@ public: wxCursor(wxStockCursor id); 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