> have generated code like this:
> func NewWxFrame(arg1 WxWindow) WxFrame {
> if arg1 == nil {
> return _swig_wrap_new_wxFrame(0)
> } else {
> return _swig_wrap_new_wxFrame(arg1.Swigcptr())
> }
> }
Yeah, that might not be a bad idea. My general thinking was that in
general you need to get valid values from the C++ side. But nil/NULL is
sort of a special case.
Ian