Z
Zach Dennis
I'm not a huge c++ guy, and I'm trying to help w/wxRuby development and
I've ran into an error. perhaps someone with more c++ knowledge can help
me out.
There is a classs wxPrintout in the the wxWindows library, I am trying
to wrap it for use in WxRuby. Whenever I try to create it
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". Any ideas how
to get around class type redefinition?
Thanks,
Zach
I've ran into an error. perhaps someone with more c++ knowledge can help
me out.
There is a classs wxPrintout in the the wxWindows library, I am trying
to wrap it for use in WxRuby. Whenever I try to create it
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". Any ideas how
to get around class type redefinition?
Thanks,
Zach