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:
@@ -298,6 +298,7 @@ private:
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxCalendarCtrl)
|
||||
DECLARE_EVENT_TABLE()
|
||||
DECLARE_NO_COPY_CLASS(wxCalendarCtrl)
|
||||
};
|
||||
|
||||
#endif // _WX_GENERIC_CALCTRL_H
|
||||
|
@@ -61,6 +61,8 @@ public:
|
||||
|
||||
protected:
|
||||
wxListBox *m_listbox;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxAnyChoiceDialog)
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@@ -184,6 +184,7 @@ private:
|
||||
private:
|
||||
DECLARE_EVENT_TABLE()
|
||||
DECLARE_DYNAMIC_CLASS(wxGenericDirCtrl)
|
||||
DECLARE_NO_COPY_CLASS(wxGenericDirCtrl)
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
@@ -223,6 +224,7 @@ protected:
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
DECLARE_CLASS(wxDirFilterListCtrl)
|
||||
DECLARE_NO_COPY_CLASS(wxDirFilterListCtrl)
|
||||
};
|
||||
|
||||
#if !defined(__WXMSW__) && !defined(__WXMAC__) && !defined(__WXPM__)
|
||||
|
@@ -288,6 +288,7 @@ protected:
|
||||
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS(wxGenericDragImage)
|
||||
DECLARE_NO_COPY_CLASS(wxGenericDragImage)
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@@ -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)
|
||||
};
|
||||
|
||||
|
||||
|
@@ -83,6 +83,8 @@ private:
|
||||
wxGrid::wxGridSelectionModes m_selectionMode;
|
||||
|
||||
friend class WXDLLEXPORT wxGrid;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxGridSelection)
|
||||
};
|
||||
|
||||
#endif // #ifdef __WXGRIDSEL_H__
|
||||
|
@@ -124,6 +124,8 @@ private:
|
||||
private:
|
||||
// Virtual function hiding supression
|
||||
virtual void Update() { wxDialog::Update(); }
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxProgressDialog)
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@@ -193,6 +193,7 @@ private:
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS(wxSashWindow)
|
||||
DECLARE_EVENT_TABLE()
|
||||
DECLARE_NO_COPY_CLASS(wxSashWindow)
|
||||
};
|
||||
|
||||
BEGIN_DECLARE_EVENT_TYPES()
|
||||
|
@@ -67,6 +67,7 @@ protected:
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxSplashScreen)
|
||||
DECLARE_EVENT_TABLE()
|
||||
DECLARE_NO_COPY_CLASS(wxSplashScreen)
|
||||
};
|
||||
|
||||
/*
|
||||
|
@@ -285,6 +285,7 @@ private:
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxSplitterWindow)
|
||||
DECLARE_EVENT_TABLE()
|
||||
DECLARE_NO_COPY_CLASS(wxSplitterWindow)
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@@ -66,6 +66,7 @@ protected:
|
||||
private:
|
||||
DECLARE_EVENT_TABLE()
|
||||
DECLARE_DYNAMIC_CLASS(wxTextEntryDialog)
|
||||
DECLARE_NO_COPY_CLASS(wxTextEntryDialog)
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@@ -467,6 +467,7 @@ protected:
|
||||
private:
|
||||
DECLARE_EVENT_TABLE()
|
||||
DECLARE_DYNAMIC_CLASS(wxGenericTreeCtrl)
|
||||
DECLARE_NO_COPY_CLASS(wxGenericTreeCtrl)
|
||||
};
|
||||
|
||||
#if !defined(__WXMSW__) || defined(__WIN16__) || defined(__WXUNIVERSAL__)
|
||||
|
@@ -140,6 +140,7 @@ private:
|
||||
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS(wxTreeLayoutStored)
|
||||
DECLARE_NO_COPY_CLASS(wxTreeLayoutStored)
|
||||
};
|
||||
|
||||
// For backward compatibility
|
||||
|
@@ -97,5 +97,6 @@ private:
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxWizard)
|
||||
DECLARE_EVENT_TABLE()
|
||||
DECLARE_NO_COPY_CLASS(wxWizard)
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user