Re: XRC & .NET subsclassing

"Bryan Bulten" <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
> Oh no. I just finished sub-classing a wx.NET class and now it dawns on me
> there is no way to use this class from within an XRC file via wx.NET's
> XmlResource class: it can only handle C++ derived classes because it is
> just a wrapper around the underlying wxWidgets code. Oh darn.
>
> To make this possible, my first guess is that wxXmlResource would need to
> ported to C# so that assembly-based classes can be used.

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.


-- 
Bryan Bulten
http://bulten.ca/
http://wxnet.sourceforge.net/


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.