Displaying 1 result from an estimated 1 matches for "cppparm0".
2004 Nov 24
3
[DEVEL] Defining Pure Virtual Functions
...he Printer, PrintDialog, PrintDialogData, PrinterDC,
etc... classes and I''m having a problem with Printout.
In the wxWindows source, the file "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 a...