great copy ctor/assignment operators cleanup by Paul Cornett (patch 1307665)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -22,7 +22,6 @@ class WXDLLEXPORT wxCursor : public wxGDIImage
|
||||
public:
|
||||
// constructors
|
||||
wxCursor();
|
||||
wxCursor(const wxCursor& cursor) : wxGDIImage(cursor) { Ref(cursor); }
|
||||
wxCursor(const wxImage& image);
|
||||
wxCursor(const char bits[], int width, int height,
|
||||
int hotSpotX = -1, int hotSpotY = -1,
|
||||
@@ -33,9 +32,6 @@ public:
|
||||
wxCursor(int idCursor);
|
||||
virtual ~wxCursor();
|
||||
|
||||
wxCursor& operator=(const wxCursor& cursor)
|
||||
{ if (*this == cursor) return (*this); Ref(cursor); return *this; }
|
||||
|
||||
bool operator==(const wxCursor& cursor) const;
|
||||
bool operator!=(const wxCursor& cursor) const
|
||||
{ return !(*this == cursor); }
|
||||
|
Reference in New Issue
Block a user