// Writes a header on a page. Margin units are in millimetres.
bool WritePageHeader(wxPrintout *printout, wxDC *dc, wxChar *text, float mmToLogical);
-MyApp::MyApp()
-{
-}
-
// The `main program' equivalent, creating the windows and returning the
// main frame
bool MyApp::OnInit(void)
SetBackgroundColour(* wxWHITE);
}
-MyCanvas::~MyCanvas(void)
-{
-}
-
// Define the repainting behaviour
void MyCanvas::OnDraw(wxDC& dc)
{