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:
@@ -40,9 +40,6 @@ class WXDLLEXPORT wxIcon: public wxIconBase
|
||||
public:
|
||||
wxIcon();
|
||||
|
||||
// Copy constructors
|
||||
inline wxIcon(const wxIcon& icon) { Ref(icon); }
|
||||
|
||||
wxIcon( const char bits[]
|
||||
,int nWidth
|
||||
,int nHeight
|
||||
@@ -67,8 +64,6 @@ public:
|
||||
,int nDesiredHeight = -1
|
||||
);
|
||||
|
||||
inline wxIcon& operator = (const wxIcon& rIcon)
|
||||
{ if (*this != rIcon) Ref(rIcon); return *this; }
|
||||
inline bool operator == (const wxIcon& rIcon) const
|
||||
{ return m_refData == rIcon.m_refData; }
|
||||
inline bool operator != (const wxIcon& rIcon) const
|
||||
|
Reference in New Issue
Block a user