class constrctor code
[email protected] (Robert Roebling)
| Newsgroups | gmane.comp.lib.wxwindows.wxnet |
|---|---|
| Message-ID | <[email protected]> |
Hi,
a) I am still trying to wrap my brain around class
constructor in wx.NET. I wonder what the following
code does (as in e.g. Dialog and Button):
public Button( IntPtr wxObject ): base(wxObject)
{
}
and why it sometimes is "public" and sometimes defined
as "internal" (e.g. in Dialog).
b) Am i right that it is the ultimate aim that
class construction is always done through the
wxXxxxx_Create interface and not through the
wxXxxxx_ctor interface (so it should look like
what e.g. Button currently does).
Robert
--
Robert Roebling, MD <[email protected]>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf