diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-17 02:41:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-17 02:41:49 +0100 |
| commit | 5d2ba0d2f7855ffe18ff8e5a96156ca17e50cd2b (patch) | |
| tree | 0341572be05213e0dbfb94720577616d9e3b002f /src/wx | |
| parent | 7ef2ba523ca2ddc0470f5837bc88ad9c597361e2 (diff) | |
Windows apparently has Rectangle in the global namespace.
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/film_viewer.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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<wxBitmap> bitmap; |
