"Zach Dennis" <zdennis / mktec.com> wrote:
> new wxPrintout()
>
> it says I cannot instantiate the abstract class due to the following 
> members. Then it gives me the method signautre for a pure virtual method 
> OnPrintPage.
>
> So I override wxPrintout in my file:
>
> class wxPrintout{
> public:
> virtual bool OnPrintPage( int page )
> }
>
> Then it errors out because of a "class type redefinition".

You can redefine classes (heck, even individual objects) in Ruby, but not in 
C++.
If you want a wxPrintout that is instantiable, you will need to define a 
concrete subclass of wxPrintout:

class wxRubyPrintout : public wxPrintout
{
    bool OnPrintPage( int page );
};