summaryrefslogtreecommitdiff
path: root/src/wx/film_viewer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/film_viewer.cc')
-rw-r--r--src/wx/film_viewer.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index 8398b8162..0d17baf83 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -47,6 +47,7 @@ public:
{
}
+ /** Handle a paint event */
void paint_event (wxPaintEvent& ev)
{
if (_current_image != _pending_image) {
@@ -67,6 +68,7 @@ public:
}
}
+ /** Handle a size event */
void size_event (wxSizeEvent &)
{
if (!_image) {
@@ -101,6 +103,7 @@ public:
}
}
+ /** Clear our thumbnail image */
void clear ()
{
delete _bitmap;
@@ -237,6 +240,7 @@ FilmViewer::set_film (Film* f)
}
_film->Changed.connect (sigc::mem_fun (*this, &FilmViewer::film_changed));
+ film_changed (Film::CROP);
film_changed (Film::THUMBS);
_thumb_panel->refresh ();
setup_visibility ();