]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/ogl/samples/ogledit/view.cpp
Fix to parser.y to make it compile with makefile.unx; wxFileConfig
[wxWidgets.git] / utils / ogl / samples / ogledit / view.cpp
index 3dfb84f2399c185e3678d96b00e22c000dbd0c59..9690182a27259782862754866e4d3c580014e4a4 100644 (file)
@@ -119,7 +119,7 @@ void DiagramView::OnDraw(wxDC *dc)
 
   // 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