// 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;
}