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:
@@ -27,7 +27,7 @@ protected:
|
||||
friend class WXDLLIMPEXP_FWD_CORE wxBitmap;
|
||||
friend class WXDLLIMPEXP_FWD_CORE wxCursor;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxCursorRefData)
|
||||
wxDECLARE_NO_COPY_CLASS(wxCursorRefData);
|
||||
};
|
||||
|
||||
#define M_CURSORDATA ((wxCursorRefData *)m_refData)
|
||||
|
@@ -25,7 +25,7 @@ WX_DECLARE_LIST(wxCocoaDCImpl, wxCocoaDCStack);
|
||||
class WXDLLIMPEXP_CORE wxCocoaDCImpl: public wxDCImpl
|
||||
{
|
||||
DECLARE_ABSTRACT_CLASS(wxCocoaDCImpl)
|
||||
DECLARE_NO_COPY_CLASS(wxCocoaDCImpl)
|
||||
wxDECLARE_NO_COPY_CLASS(wxCocoaDCImpl);
|
||||
//-------------------------------------------------------------------------
|
||||
// Initialization
|
||||
//-------------------------------------------------------------------------
|
||||
|
@@ -22,7 +22,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSSavePanel);
|
||||
class WXDLLIMPEXP_CORE wxDirDialog: public wxDirDialogBase
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxDirDialog)
|
||||
DECLARE_NO_COPY_CLASS(wxDirDialog)
|
||||
wxDECLARE_NO_COPY_CLASS(wxDirDialog);
|
||||
public:
|
||||
wxDirDialog(wxWindow *parent,
|
||||
const wxString& message = wxDirSelectorPromptStr,
|
||||
|
@@ -30,7 +30,7 @@ public:
|
||||
protected:
|
||||
int m_exitcode;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxGUIEventLoop)
|
||||
wxDECLARE_NO_COPY_CLASS(wxGUIEventLoop);
|
||||
};
|
||||
|
||||
#endif // _WX_COCOA_EVTLOOP_H_
|
||||
|
@@ -22,7 +22,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSSavePanel);
|
||||
class WXDLLIMPEXP_CORE wxFileDialog: public wxFileDialogBase
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxFileDialog)
|
||||
DECLARE_NO_COPY_CLASS(wxFileDialog)
|
||||
wxDECLARE_NO_COPY_CLASS(wxFileDialog);
|
||||
public:
|
||||
wxFileDialog(wxWindow *parent,
|
||||
const wxString& message = wxFileSelectorPromptStr,
|
||||
|
@@ -64,7 +64,7 @@ protected:
|
||||
virtual void DoSetCustomLabel(wxString& var, const ButtonLabel& label);
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxCocoaMessageDialog)
|
||||
DECLARE_NO_COPY_CLASS(wxCocoaMessageDialog)
|
||||
wxDECLARE_NO_COPY_CLASS(wxCocoaMessageDialog);
|
||||
};
|
||||
|
||||
#endif // _WX_MSGDLG_H_
|
||||
|
@@ -19,7 +19,7 @@
|
||||
// ========================================================================
|
||||
class wxWindowCocoaScrollView: protected wxCocoaNSView
|
||||
{
|
||||
DECLARE_NO_COPY_CLASS(wxWindowCocoaScrollView)
|
||||
wxDECLARE_NO_COPY_CLASS(wxWindowCocoaScrollView);
|
||||
public:
|
||||
wxWindowCocoaScrollView(wxWindow *owner);
|
||||
virtual ~wxWindowCocoaScrollView();
|
||||
|
@@ -18,7 +18,7 @@
|
||||
|
||||
class wxCocoaTrackingRectManager
|
||||
{
|
||||
DECLARE_NO_COPY_CLASS(wxCocoaTrackingRectManager)
|
||||
wxDECLARE_NO_COPY_CLASS(wxCocoaTrackingRectManager);
|
||||
public:
|
||||
wxCocoaTrackingRectManager(wxWindow *window);
|
||||
void ClearTrackingRect();
|
||||
|
@@ -46,7 +46,7 @@ class wxCocoaTrackingRectManager;
|
||||
class WXDLLIMPEXP_CORE wxWindowCocoa: public wxWindowBase, protected wxCocoaNSView
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxWindowCocoa)
|
||||
DECLARE_NO_COPY_CLASS(wxWindowCocoa)
|
||||
wxDECLARE_NO_COPY_CLASS(wxWindowCocoa);
|
||||
DECLARE_EVENT_TABLE()
|
||||
friend wxWindow *wxWindowBase::GetCapture();
|
||||
friend class wxWindowCocoaScrollView;
|
||||
|
Reference in New Issue
Block a user