[wxruby-users] GridTableBase

Irlweg, Franz (ZNT) Franz.Irlweg.ZNT at wacker.com
Tue Jan 29 02:33:22 EST 2008


A lot of thanks, 

I thought because GridTableBase is a interface, ... but we are in Ruby,
and here a interface is a class!

franz


-----Original Message-----
From: wxruby-users-bounces at rubyforge.org
[mailto:wxruby-users-bounces at rubyforge.org] On Behalf Of Alex Fenton
Sent: Monday, January 28, 2008 11:41 PM
To: General discussion of wxRuby
Subject: Re: [wxruby-users] GridTableBase

Hi Franz

Irlweg, Franz (ZNT) wrote:
> I'm running Windows XP and i always get the error:
> *in `set_table': in method 'SetTable', argument 2 of type 
> 'wxGridTableBase *' (ObjectPreviouslyDeleted)*
...
> class MyGridTableBase  < GridTableBase
>  
>   def initialize  rowObjs, objType
>     @objType = objType
>     @rowObjs = rowObjs
>     @colNames =  ["aa", "bb"]
>   end
You need to call super() in your constructor. Sorry the (SWIG-generated)
exception isn't very informative, but it's trying to say that the
underlying C++ object hasn't been initialised.

alex
_______________________________________________
wxruby-users mailing list
wxruby-users at rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users


If you are not the intended recipient, you are hereby notified that any use, dissemination, or copying of this communication is strictly prohibited. 
If you have received this communication in error, please notify us at once so This communication and any files or attachments transmitted with it may contain information that is copyrighted or confidential and exempt from disclosure under applicable law. It is intended solely for the use of the individual or the entity to which it is addressed.
that we may take the appropriate action and avoid troubling you further.
Thank you for your cooperation. Please contact your local IT staff or email info at siltronic.com if you need assistance.

Siltronic AG, Sitz Muenchen, Hanns-Seidel-Platz 4, 81737 Muenchen, Germany. Amtsgericht Muenchen HRB 150884
Vorstand: Wilhelm Sittenthaler (Vorsitz), Gerhard Brehm, Paul Lindblad, Joachim Manke, Michael Peterat. Vorsitzender des Aufsichtsrats: Peter-Alexander Wacker



More information about the wxruby-users mailing list