From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a3f460aaba1863e2 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail From: "Lucretia" Newsgroups: comp.lang.ada Subject: Re: Private primitive operations available to entire package hierarchy. Can it be done? Date: 8 Aug 2005 11:04:08 -0700 Organization: http://groups.google.com Message-ID: <1123524248.690333.24270@g14g2000cwa.googlegroups.com> References: <1120752411.808598.292980@g49g2000cwa.googlegroups.com> <1121269243.013754.57720@g14g2000cwa.googlegroups.com> <1121883276.400592.326630@o13g2000cwo.googlegroups.com> <1122315253.757948.150350@z14g2000cwz.googlegroups.com> <8_ydncLVTeRn5njfRVn-jA@megapath.net> <1122485760.918191.274380@f14g2000cwb.googlegroups.com> <1122545378.984920.272260@g47g2000cwa.googlegroups.com> <1122998146.914353.174110@g44g2000cwa.googlegroups.com> NNTP-Posting-Host: 194.74.199.42 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1123524254 20022 127.0.0.1 (8 Aug 2005 18:04:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 8 Aug 2005 18:04:14 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: g14g2000cwa.googlegroups.com; posting-host=194.74.199.42; posting-account=G-J9fgwAAADgpzBiEyy5tO4f8MX5fbpw Xref: g2news1.google.com comp.lang.ada:4032 Date: 2005-08-08T11:04:08-07:00 List-Id: We do use something like reference counting to allow Window objects to be assigned. But that capability was a mistake - we wouldn't do it if starting over - so I won't try to describe it. I started with a non-limited hierarchy that could be copied but found that not all wxWidgets classes can be copied as the copy constructor is private in certain objects, e.g. all wxWindow derived types. So, I now have a limited hierarchy, even though certain objects need to be copiable, e.g. wxEvent derived types. Thanks, Luke.