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:
@@ -118,7 +118,7 @@ public:
|
||||
|
||||
protected:
|
||||
DECLARE_EVENT_TABLE()
|
||||
DECLARE_NO_COPY_CLASS(wxApp)
|
||||
wxDECLARE_NO_COPY_CLASS(wxApp);
|
||||
};
|
||||
#endif
|
||||
// _WX_APP_H_
|
||||
|
||||
@@ -52,7 +52,7 @@ protected:
|
||||
private:
|
||||
SIZEL m_PageSize;
|
||||
DECLARE_CLASS(wxWindowDCImpl)
|
||||
DECLARE_NO_COPY_CLASS(wxWindowDCImpl)
|
||||
wxDECLARE_NO_COPY_CLASS(wxWindowDCImpl);
|
||||
}; // end of CLASS wxWindowDC
|
||||
|
||||
class WXDLLIMPEXP_CORE wxClientDCImpl : public wxWindowDCImpl
|
||||
@@ -73,7 +73,7 @@ protected:
|
||||
|
||||
private:
|
||||
DECLARE_CLASS(wxClientDCImpl)
|
||||
DECLARE_NO_COPY_CLASS(wxClientDCImpl)
|
||||
wxDECLARE_NO_COPY_CLASS(wxClientDCImpl);
|
||||
}; // end of CLASS wxClientDC
|
||||
|
||||
class WXDLLIMPEXP_CORE wxPaintDCImpl : public wxClientDCImpl
|
||||
@@ -96,7 +96,7 @@ protected:
|
||||
wxPaintDCInfo* FindInCache(size_t* pIndex = NULL) const;
|
||||
private:
|
||||
DECLARE_CLASS(wxPaintDCImpl)
|
||||
DECLARE_NO_COPY_CLASS(wxPaintDCImpl)
|
||||
wxDECLARE_NO_COPY_CLASS(wxPaintDCImpl);
|
||||
}; // end of wxPaintDC
|
||||
|
||||
#endif
|
||||
|
||||
@@ -37,7 +37,7 @@ protected:
|
||||
void Init(void);
|
||||
private:
|
||||
DECLARE_CLASS(wxMemoryDCImpl)
|
||||
DECLARE_NO_COPY_CLASS(wxMemoryDCImpl)
|
||||
wxDECLARE_NO_COPY_CLASS(wxMemoryDCImpl);
|
||||
}; // end of CLASS wxMemoryDCImpl
|
||||
|
||||
#endif
|
||||
|
||||
@@ -60,7 +60,7 @@ protected:
|
||||
wxPrintData m_printData;
|
||||
private:
|
||||
DECLARE_CLASS(wxPrinterDCImpl)
|
||||
DECLARE_NO_COPY_CLASS(wxPrinterDCImpl)
|
||||
wxDECLARE_NO_COPY_CLASS(wxPrinterDCImpl);
|
||||
}; // end of CLASS wxPrinterDC
|
||||
|
||||
// Gets an HDC for the specified printer configuration
|
||||
|
||||
@@ -27,7 +27,7 @@ class WXDLLIMPEXP_CORE wxScreenDCImpl: public wxPMDCImpl
|
||||
|
||||
private:
|
||||
DECLARE_CLASS(wxScreenDCImpl)
|
||||
DECLARE_NO_COPY_CLASS(wxScreenDCImpl)
|
||||
wxDECLARE_NO_COPY_CLASS(wxScreenDCImpl);
|
||||
}; // end of CLASS wxScreenDC
|
||||
|
||||
#endif
|
||||
|
||||
@@ -122,7 +122,7 @@ private:
|
||||
class wxWindowDisabler* m_pWindowDisabler;
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxDialog)
|
||||
DECLARE_NO_COPY_CLASS(wxDialog)
|
||||
wxDECLARE_NO_COPY_CLASS(wxDialog);
|
||||
}; // end of CLASS wxDialog
|
||||
|
||||
#endif // _WX_DIALOG_H_
|
||||
|
||||
@@ -531,7 +531,7 @@ private:
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxListCtrl)
|
||||
DECLARE_EVENT_TABLE()
|
||||
DECLARE_NO_COPY_CLASS(wxListCtrl)
|
||||
wxDECLARE_NO_COPY_CLASS(wxListCtrl);
|
||||
}; // end of CLASS wxListCtrl
|
||||
|
||||
#endif // wxUSE_LISTCTRL
|
||||
|
||||
@@ -103,7 +103,7 @@ protected:
|
||||
|
||||
private:
|
||||
DECLARE_CLASS(wxMetafileDCImpl)
|
||||
DECLARE_NO_COPY_CLASS(wxMetafileDCImpl)
|
||||
wxDECLARE_NO_COPY_CLASS(wxMetafileDCImpl);
|
||||
};
|
||||
|
||||
class WXDLLIMPEXP_CORE wxMetafileDC: public wxDC
|
||||
@@ -136,7 +136,7 @@ public:
|
||||
|
||||
private:
|
||||
DECLARE_CLASS(wxMetafileDC)
|
||||
DECLARE_NO_COPY_CLASS(wxMetafileDC)
|
||||
wxDECLARE_NO_COPY_CLASS(wxMetafileDC);
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
@@ -54,7 +54,7 @@ public:
|
||||
private:
|
||||
ULONG* m_slot;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxTlsKey)
|
||||
wxDECLARE_NO_COPY_CLASS(wxTlsKey);
|
||||
};
|
||||
|
||||
#endif // _WX_OS2_TLS_H_
|
||||
|
||||
@@ -624,7 +624,7 @@ private:
|
||||
friend class wxTreeSortHelper;
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxTreeCtrl)
|
||||
DECLARE_NO_COPY_CLASS(wxTreeCtrl)
|
||||
wxDECLARE_NO_COPY_CLASS(wxTreeCtrl);
|
||||
}; // end of CLASS wxTreeCtrl
|
||||
|
||||
#endif // wxUSE_TREECTRL
|
||||
|
||||
@@ -534,7 +534,7 @@ private:
|
||||
SWP m_vWinSwp;
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxWindowOS2);
|
||||
DECLARE_NO_COPY_CLASS(wxWindowOS2)
|
||||
wxDECLARE_NO_COPY_CLASS(wxWindowOS2);
|
||||
DECLARE_EVENT_TABLE()
|
||||
}; // end of wxWindow
|
||||
|
||||
|
||||
Reference in New Issue
Block a user