From 5d2ba0d2f7855ffe18ff8e5a96156ca17e50cd2b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 17 Oct 2012 02:41:49 +0100 Subject: Windows apparently has Rectangle in the global namespace. --- src/wx/film_viewer.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/wx') diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index 6c8f38cfc..e2ab1db5d 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -144,7 +144,7 @@ private: GetSize (&vw, &vh); /* Cropped rectangle */ - Rectangle cropped_area ( + Rect cropped_area ( _film->crop().left, _film->crop().top, _image->GetWidth() - (_film->crop().left + _film->crop().right), @@ -207,8 +207,8 @@ private: base_area.height = base_image.GetHeight (); } - Rectangle base_area; - Rectangle transformed_area; + Rect base_area; + Rect transformed_area; wxImage base_image; wxImage transformed_image; shared_ptr bitmap; -- cgit v1.2.3