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:
Vadim Zeitlin
2009-02-08 11:45:59 +00:00
parent 4800ca79ac
commit c0c133e13b
424 changed files with 715 additions and 704 deletions

View File

@@ -110,7 +110,7 @@ private:
wxRect m_rect;
int m_depth;
DECLARE_NO_COPY_CLASS(wxDisplayImplX11)
wxDECLARE_NO_COPY_CLASS(wxDisplayImplX11);
};
class wxDisplayFactoryX11 : public wxDisplayFactory
@@ -123,7 +123,7 @@ public:
virtual int GetFromPoint(const wxPoint& pt);
protected:
DECLARE_NO_COPY_CLASS(wxDisplayFactoryX11)
wxDECLARE_NO_COPY_CLASS(wxDisplayFactoryX11);
};
// ============================================================================
@@ -358,7 +358,7 @@ public:
private:
void *m_ptr;
DECLARE_NO_COPY_CLASS(wxX11Ptr)
wxDECLARE_NO_COPY_CLASS(wxX11Ptr);
};
// NB: this function is implemented using X11 and not GDK calls as it's shared

View File

@@ -67,7 +67,7 @@ public:
private:
FILE *m_fp;
DECLARE_NO_COPY_CLASS(wxStdioPipe)
wxDECLARE_NO_COPY_CLASS(wxStdioPipe);
};
// ============================================================================

View File

@@ -429,7 +429,7 @@ private:
int m_argc;
char **m_argv;
DECLARE_NO_COPY_CLASS(ArgsArray)
wxDECLARE_NO_COPY_CLASS(ArgsArray);
};
} // anonymous namespace
@@ -1263,7 +1263,7 @@ public:
protected:
const int m_fd;
DECLARE_NO_COPY_CLASS(wxReadFDIOHandler)
wxDECLARE_NO_COPY_CLASS(wxReadFDIOHandler);
};
// class for monitoring our end of the process detection pipe, simply sets a
@@ -1284,7 +1284,7 @@ public:
private:
bool m_terminated;
DECLARE_NO_COPY_CLASS(wxEndHandler)
wxDECLARE_NO_COPY_CLASS(wxEndHandler);
};
#if HAS_PIPE_INPUT_STREAM
@@ -1313,7 +1313,7 @@ public:
private:
wxStreamTempInputBuffer * const m_buf;
DECLARE_NO_COPY_CLASS(wxRedirectedIOHandler)
wxDECLARE_NO_COPY_CLASS(wxRedirectedIOHandler);
};
#endif // HAS_PIPE_INPUT_STREAM