Displaying 1 result from an estimated 1 matches for "onprintpage".
Did you mean:
on_print_page
2004 Nov 24
3
[DEVEL] Defining Pure Virtual Functions
...prntbase.h" defines the class
"wxPrintout". When wrapping this for wxRuby I am trying the call:
cppResult = new wxPrintout( cppParm0 ); //where cppParm0 is a wxString
If I do this it complains that I need to override the abstract class
wxPrintout, and define the method "bool OnPrintPage( int )".
If I define in my header file:
class wxPrintout{
public:
virtual bool OnPrintPage( int i );
};
It will complain to be about "class type redefinition". Nick, Curt or
kevin....have any of you seen this and could you give me any pointers on
how to fix it? Thanks,
Zach