Re: Feel lost with wx/dynarray.h
"'Hibou57' via wx-users" <[email protected]> Sun, 26 Jul 2026 06:40:30 -0700 (PDT)
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_164828_177124455.1785073230554 Content-Type: multipart/alternative; boundary="----=_Part_164829_2102440920.1785073230554" ------=_Part_164829_2102440920.1785073230554 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le dimanche 26 juillet 2026 =C3=A0 15:27:41 UTC+2, Vadim Zeitlin a =C3=A9cr= it : These classes are deprecated and shouldn't be=20 used in the new code, they're only retained for compatibility.=20 Indeed, after your reply, I searched for it in the page and it says: =E2=80= =9CThe=20 legacy dynamic array class, existing for compatibility only and *NOT* to be= =20 used in the new code. =E2=80=9D Why are you looking at it?=20 =20 Just because of the syntax I found there. Also, just noticed this: > wxWidgets has three different kinds of array. All of them derive from=20 wxBaseArray class which works with untyped data and cannot be used=20 directly. The standard macros WX_DEFINE_ARRAY(), WX_DEFINE_SORTED_ARRAY()= =20 and WX_DEFINE_OBJARRAY() are used to define a new class deriving from it.= =20 The classes declared will be called in this documentation wxArray,=20 wxSortedArray and wxObjArray but you should keep in mind that **no classes= =20 with such names actually exist** =20 Will search for deprecations to avoid to look at it. Thanks for your reponse --=20 Please read https://www.wxwidgets.org/support/mlhowto.htm before posting. ---=20 You received this message because you are subscribed to the Google Groups "= wx-users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/wx-users/33= 89fd42-2893-49e3-a362-638333369448n%40googlegroups.com. ------=_Part_164829_2102440920.1785073230554 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <br /><br /><div><div dir=3D"auto">Le dimanche 26 juillet 2026 =C3=A0 15:27= :41 UTC+2, Vadim Zeitlin a =C3=A9crit=C2=A0:<br /></div><blockquote style= =3D"margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); p= adding-left: 1ex;">These classes are deprecated and shouldn't be <br />used in the new code, they're only retained for compatibility.=C2=A0<= /blockquote><div><br /></div><div>Indeed, after your reply, I searched for = it in the page and it says: =E2=80=9CThe legacy dynamic array class, existi= ng for compatibility only and <em>NOT</em> to be used in the new code. =E2= =80=9D</div><div><br /></div><div><blockquote style=3D"margin: 0px 0px 0px = 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> Why = are you looking at it? </blockquote><div>=C2=A0</div><div>Just because of t= he syntax I found there.</div><br /></div><div>Also, just noticed this:</di= v><div><br /></div><div>>=C2=A0wxWidgets has three different kinds of ar= ray. All of them derive from wxBaseArray class which works with untyped dat= a and cannot be used directly. The standard macros WX_DEFINE_ARRAY(), WX_DE= FINE_SORTED_ARRAY() and WX_DEFINE_OBJARRAY() are used to define a new class= deriving from it. The classes declared will be called in this documentatio= n wxArray, wxSortedArray and wxObjArray but you should keep in mind that **= no classes with such names actually exist**</div><div>=C2=A0</div><div>Will= search for deprecations to avoid to look at it.</div><div><br /></div><div= >Thanks for your reponse</div><div><br /></div></div> <p></p> -- <br /> Please read <a href=3D"https://www.wxwidgets.org/support/mlhowto.htm">https= ://www.wxwidgets.org/support/mlhowto.htm</a> before posting.<br /> --- <br /> You received this message because you are subscribed to the Google Groups &= quot;wx-users" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">wx-users+u= [email protected]</a>.<br /> To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/= wx-users/3389fd42-2893-49e3-a362-638333369448n%40googlegroups.com?utm_mediu= m=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/wx-users/3= 389fd42-2893-49e3-a362-638333369448n%40googlegroups.com</a>.<br /> ------=_Part_164829_2102440920.1785073230554-- ------=_Part_164828_177124455.1785073230554--