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

@@ -48,7 +48,7 @@ public:
private:
DECLARE_DYNAMIC_CLASS(wxGtkCalendarCtrl)
DECLARE_NO_COPY_CLASS(wxGtkCalendarCtrl)
wxDECLARE_NO_COPY_CLASS(wxGtkCalendarCtrl);
};
#endif // GTK_CALCTRL_H__

View File

@@ -463,7 +463,7 @@ private:
void GtkDisableSelectionEvents();
DECLARE_DYNAMIC_CLASS(wxDataViewCtrl)
DECLARE_NO_COPY_CLASS(wxDataViewCtrl)
wxDECLARE_NO_COPY_CLASS(wxDataViewCtrl);
};

View File

@@ -31,7 +31,7 @@ protected:
// the exit code of this event loop
int m_exitcode;
DECLARE_NO_COPY_CLASS(wxGUIEventLoop)
wxDECLARE_NO_COPY_CLASS(wxGUIEventLoop);
};
#endif // _WX_GTK_EVTLOOP_H_

View File

@@ -204,7 +204,7 @@ private:
private:
DECLARE_DYNAMIC_CLASS(wxGnomePrinter)
DECLARE_NO_COPY_CLASS(wxGnomePrinter)
wxDECLARE_NO_COPY_CLASS(wxGnomePrinter);
};
//-----------------------------------------------------------------------------
@@ -313,7 +313,7 @@ private:
private:
DECLARE_DYNAMIC_CLASS(wxGnomePrinterDCImpl)
DECLARE_NO_COPY_CLASS(wxGnomePrinterDCImpl)
wxDECLARE_NO_COPY_CLASS(wxGnomePrinterDCImpl);
};
// ----------------------------------------------------------------------------

View File

@@ -52,7 +52,7 @@ private:
GtkWidget *m_banner;
DECLARE_NO_COPY_CLASS(wxNotificationMessage)
wxDECLARE_NO_COPY_CLASS(wxNotificationMessage);
};
#endif // _WX_GTK_HILDON_NOTIFMSG_H_

View File

@@ -174,7 +174,7 @@ private:
wxDC *m_dc;
DECLARE_DYNAMIC_CLASS(wxGtkPrinter)
DECLARE_NO_COPY_CLASS(wxGtkPrinter)
wxDECLARE_NO_COPY_CLASS(wxGtkPrinter);
};
//----------------------------------------------------------------------------
@@ -315,7 +315,7 @@ private:
double m_DEV2PS;
DECLARE_DYNAMIC_CLASS(wxGtkPrinterDCImpl)
DECLARE_NO_COPY_CLASS(wxGtkPrinterDCImpl)
wxDECLARE_NO_COPY_CLASS(wxGtkPrinterDCImpl);
};
// ----------------------------------------------------------------------------

View File

@@ -29,7 +29,7 @@ private:
// copying could be implemented by using g_object_ref() but for now there
// is no need for it so don't implement it
DECLARE_NO_COPY_CLASS(wxGtkObject)
wxDECLARE_NO_COPY_CLASS(wxGtkObject);
};
#endif // _WX_GTK_PRIVATE_OBJECT_H_

View File

@@ -28,7 +28,7 @@ public:
private:
gchar *m_str;
DECLARE_NO_COPY_CLASS(wxGtkString)
wxDECLARE_NO_COPY_CLASS(wxGtkString);
};
#endif // _WX_GTK_PRIVATE_STRING_H_

View File

@@ -71,7 +71,7 @@ private:
int *posOld);
private:
DECLARE_NO_COPY_CLASS(wxScrollHelper)
wxDECLARE_NO_COPY_CLASS(wxScrollHelper);
};
#endif // _WX_GTK_SCROLLWIN_H_

View File

@@ -380,7 +380,7 @@ private:
DECLARE_DYNAMIC_CLASS(wxWindowGTK)
DECLARE_NO_COPY_CLASS(wxWindowGTK)
wxDECLARE_NO_COPY_CLASS(wxWindowGTK);
};
#endif // _WX_GTK_WINDOW_H_