use DECLARE_NO_COPY_CLASS() where applicable (patch 633384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -384,6 +384,8 @@ protected:
|
||||
// suppress the stupid gcc warning about the class having private dtor and
|
||||
// no friends
|
||||
friend class wxGridCellEditorDummyFriend;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxGridCellEditor)
|
||||
};
|
||||
|
||||
#if wxUSE_TEXTCTRL
|
||||
@@ -768,6 +770,8 @@ private:
|
||||
void InitData();
|
||||
|
||||
wxGridCellAttrProviderData *m_data;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxGridCellAttrProvider)
|
||||
};
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
@@ -856,6 +860,7 @@ private:
|
||||
wxGridCellAttrProvider *m_attrProvider;
|
||||
|
||||
DECLARE_ABSTRACT_CLASS( wxGridTableBase );
|
||||
DECLARE_NO_COPY_CLASS(wxGridTableBase)
|
||||
};
|
||||
|
||||
|
||||
@@ -899,6 +904,8 @@ private:
|
||||
int m_id;
|
||||
int m_comInt1;
|
||||
int m_comInt2;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxGridTableMessage)
|
||||
};
|
||||
|
||||
|
||||
@@ -1853,6 +1860,7 @@ protected:
|
||||
|
||||
DECLARE_DYNAMIC_CLASS( wxGrid )
|
||||
DECLARE_EVENT_TABLE()
|
||||
DECLARE_NO_COPY_CLASS(wxGrid)
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -2001,6 +2009,7 @@ private:
|
||||
wxControl* m_ctrl;
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxGridEditorCreatedEvent)
|
||||
DECLARE_NO_COPY_CLASS(wxGridEditorCreatedEvent)
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user