Re: XRC & .NET subsclassing
Bryan Bulten <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.wxnet |
|---|---|
| Message-ID | <20040521231032.1d189fd7@goliath> |
Hello, An update... > I think a better approach may be to modify, or extend, the > wxXmlResource C++ class to handle this. The advantage in doing it > this way is that updates to wxXmlResource (such as theming, and other > updates, or whatever they may be working on) will automagically be > present in wx.NET. > > I will look into this approach further next week, since I have a need > for this functionality as well. I now have an implementation, however, Mono doesn't yet have a mechanism for creating classes using their name as a string, which I need. The following method is not yet implemented in Mono: System.Runtime.Remoting.Activator.CreateInstance(string, string); Portable.NET has an implementation, but it doesn't support having null for the first argument. I'm currently looking to this... If anyone's willing to try testing in Windows, using Microsoft's implementation, I can commit the source to CVS, since it won't effect any other functionality in XmlResource. Cheers. -- Bryan Bulten http://www.bulten.ca/ http://wxnet.sourceforge.net/
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFArsSr32WFWIzmzHgRAj4cAJ0QBe0jf4qYCvr6tTgCpzNj6YfWdgCePBbe X+TvtNJOp1fslOR5WbeLrAg= =cIT5 -----END PGP SIGNATURE-----