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:
@@ -127,7 +127,7 @@ public:
|
||||
public:
|
||||
wxSocketState() : wxObject() {}
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxSocketState)
|
||||
wxDECLARE_NO_COPY_CLASS(wxSocketState);
|
||||
};
|
||||
|
||||
// wxSocketWaitModeChanger: temporarily change the socket flags affecting its
|
||||
@@ -163,7 +163,7 @@ private:
|
||||
wxSocketBase * const m_socket;
|
||||
const int m_oldflags;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxSocketWaitModeChanger)
|
||||
wxDECLARE_NO_COPY_CLASS(wxSocketWaitModeChanger);
|
||||
};
|
||||
|
||||
// wxSocketRead/WriteGuard are instantiated before starting reading
|
||||
@@ -189,7 +189,7 @@ public:
|
||||
private:
|
||||
wxSocketBase * const m_socket;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxSocketReadGuard)
|
||||
wxDECLARE_NO_COPY_CLASS(wxSocketReadGuard);
|
||||
};
|
||||
|
||||
class wxSocketWriteGuard
|
||||
@@ -213,7 +213,7 @@ public:
|
||||
private:
|
||||
wxSocketBase * const m_socket;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxSocketWriteGuard)
|
||||
wxDECLARE_NO_COPY_CLASS(wxSocketWriteGuard);
|
||||
};
|
||||
|
||||
// ============================================================================
|
||||
|
Reference in New Issue
Block a user