/* You might use THIS code if you were scaling
* graphics of known size to fit on the page.
*/
- float w, h;
+ int w, h;
// We need to adjust for the graphic size, a formula will be added
float maxX = 900;
// Set the scale and origin
dc->SetUserScale (actualScale, actualScale);
- dc->SetDeviceOrigin (posX, posY);
+ dc->SetDeviceOrigin ((long) posX, (long) posY);
// This part was added to preform the print preview and printing functions
const wxSize& size, long style):
wxShapeCanvas(parent, id, pos, size, style)
{
+ SetBackgroundColour(*wxWHITE);
view = v;
}