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:
@@ -44,9 +44,6 @@ public:
|
||||
// default
|
||||
wxIcon() { }
|
||||
|
||||
// copy
|
||||
wxIcon(const wxIcon& icon) { Ref(icon); }
|
||||
|
||||
// from raw data
|
||||
wxIcon(const char bits[], int width, int height);
|
||||
|
||||
@@ -68,8 +65,6 @@ public:
|
||||
long type = wxBITMAP_TYPE_ICO_RESOURCE,
|
||||
int desiredWidth = -1, int desiredHeight = -1);
|
||||
|
||||
wxIcon& operator = (const wxIcon& icon)
|
||||
{ if ( *this != icon ) Ref(icon); return *this; }
|
||||
bool operator == (const wxIcon& icon) const
|
||||
{ return m_refData == icon.m_refData; }
|
||||
bool operator != (const wxIcon& icon) const
|
||||
|
Reference in New Issue
Block a user