Revert default-member changes, only keep and use wxHAS_MEMBER_DEFAULT

This commit is contained in:
Maarten Bent
2020-04-13 19:44:04 +02:00
parent 1448b210b8
commit 9039340da9
4 changed files with 7 additions and 34 deletions

View File

@@ -38,7 +38,10 @@ public:
wxAnimation();
explicit wxAnimation(const wxString &name, wxAnimationType type = wxANIMATION_TYPE_ANY);
wxDECLARE_DEFAULT_COPY_CLASS(wxAnimation);
#ifdef wxHAS_MEMBER_DEFAULT
wxAnimation(const wxAnimation&) = default;
wxAnimation& operator=(const wxAnimation&) = default;
#endif
bool IsOk() const;
bool IsCompatibleWith(wxClassInfo* ci) const;