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:
@@ -346,6 +346,8 @@ public:
|
||||
|
||||
private:
|
||||
HDC m_hdc;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(ScreenHDC)
|
||||
};
|
||||
|
||||
// the same as ScreenHDC but for memory DCs: creates the HDC in ctor and
|
||||
@@ -360,6 +362,8 @@ public:
|
||||
|
||||
private:
|
||||
HDC m_hdc;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(MemoryHDC)
|
||||
};
|
||||
|
||||
// a class which selects a GDI object into a DC in its ctor and deselects in
|
||||
@@ -378,6 +382,8 @@ public:
|
||||
private:
|
||||
HDC m_hdc;
|
||||
HGDIOBJ m_hgdiobj;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(SelectInHDC)
|
||||
};
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user