add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -59,7 +59,7 @@ private:
|
||||
void* m_pIAccessibleStd; // the pointer to the standard COM interface,
|
||||
// for default processing
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxAccessible)
|
||||
wxDECLARE_NO_COPY_CLASS(wxAccessible);
|
||||
};
|
||||
|
||||
#endif //wxUSE_ACCESSIBILITY
|
||||
|
@@ -94,7 +94,7 @@ public:
|
||||
public:
|
||||
WXIDISPATCH* m_dispatchPtr;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxAutomationObject)
|
||||
wxDECLARE_NO_COPY_CLASS(wxAutomationObject);
|
||||
};
|
||||
|
||||
#endif // wxUSE_OLE_AUTOMATION
|
||||
|
@@ -73,7 +73,7 @@ public:
|
||||
private:
|
||||
IDataObject *m_pIDataObject; // pointer to the COM interface
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxDataObject)
|
||||
wxDECLARE_NO_COPY_CLASS(wxDataObject);
|
||||
};
|
||||
|
||||
#endif //_WX_MSW_OLE_DATAOBJ_H
|
||||
|
@@ -51,7 +51,7 @@ private:
|
||||
// the DIB data
|
||||
void /* BITMAPINFO */ *m_data;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxBitmapDataObject)
|
||||
wxDECLARE_NO_COPY_CLASS(wxBitmapDataObject);
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -84,7 +84,7 @@ public:
|
||||
{ return SetData(len, buf); }
|
||||
|
||||
private:
|
||||
DECLARE_NO_COPY_CLASS(wxBitmapDataObject2)
|
||||
wxDECLARE_NO_COPY_CLASS(wxBitmapDataObject2);
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -112,7 +112,7 @@ public:
|
||||
{ return SetData(len, buf); }
|
||||
|
||||
private:
|
||||
DECLARE_NO_COPY_CLASS(wxFileDataObject)
|
||||
wxDECLARE_NO_COPY_CLASS(wxFileDataObject);
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -140,7 +140,7 @@ private:
|
||||
// last data object we got data in
|
||||
wxDataObjectSimple *m_dataObjectLast;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxURLDataObject)
|
||||
wxDECLARE_NO_COPY_CLASS(wxURLDataObject);
|
||||
};
|
||||
|
||||
#endif // _WX_MSW_OLE_DATAOBJ2_H
|
||||
|
@@ -71,7 +71,7 @@ protected:
|
||||
private:
|
||||
wxIDropSource *m_pIDropSource; // the pointer to COM interface
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxDropSource)
|
||||
wxDECLARE_NO_COPY_CLASS(wxDropSource);
|
||||
};
|
||||
|
||||
#endif //wxUSE_DRAG_AND_DROP
|
||||
|
@@ -67,7 +67,7 @@ private:
|
||||
wxIDropTarget *m_pIDropTarget; // the pointer to our COM interface
|
||||
IDataObject *m_pIDataSource; // the pointer to the source data object
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxDropTarget)
|
||||
wxDECLARE_NO_COPY_CLASS(wxDropTarget);
|
||||
};
|
||||
|
||||
#endif //wxUSE_DRAG_AND_DROP
|
||||
|
Reference in New Issue
Block a user