On Sun, 26 Jul 2026 06:11:41 -0700 (PDT) 'Hibou57' via wx-users wrote:
H> In interface/dynarray.h there is a template class wxArray<T>.
Why are you looking at it? These classes are deprecated and shouldn't be
used in the new code, they're only retained for compatibility.
H> I though the interface directory was to contain a strip-down version of
H> what is in include. Where am I wrong?
The headers in the interface directory don't always correspond to the real
headers exactly. There are sometimes good reasons for this but I don't
think they apply to this particular header which seems to be just wrong.
Again, the best would probably be to just not deal with it.
H> It says `wxArray<T>::wxSortedArray (int(*)(T first, T
H> second) compareFunction)`
H>
H> It was not looking like what I knew of the syntax for pointer to functions.
Yes, this is wrong, but it's far from being the only thing wrong there,
wxSortedArray (and inexistent wxObjArray) ctors shouldn't be defined inside
wxArray declaration...
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
https://www.tt-solutions.com/