Remove CMPFUNC##T definition from WX_DECLARE_OBJARRAY macro

It is unnecessary and fails to compile when "T" is not an identifier
(but e.g. a pointer type).
This commit is contained in:
Vadim Zeitlin
2018-07-15 14:38:01 +02:00
parent cc83925147
commit b227875f98

View File

@@ -657,7 +657,6 @@ private:
}; \
typedef wxBaseObjectArray<T, wxObjectArrayTraitsFor##name> \
wxBaseObjectArrayFor##name; \
typedef int (wxCMPFUNC_CONV *CMPFUNC##T)(T **pItem1, T **pItem2); \
classdecl name : public wxBaseObjectArrayFor##name \
{ \
public: \