r3877: Auto commit for Debian build
authorKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 29 Jan 2003 07:18:38 +0000 (07:18 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 29 Jan 2003 07:18:38 +0000 (07:18 +0000)
src/views.cpp

index c2d5e06dd75c5b5eb52c49578504b161947a6e8b..88e5f042fc7dc22b2a030fec80d9713b98c7b42f 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: views.cpp,v 1.166 2003/01/29 07:11:17 kevin Exp $
+**  $Id: views.cpp,v 1.167 2003/01/29 07:18:38 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -329,6 +329,7 @@ ImageFileView::OnScaleAuto (wxCommandEvent& event)
       m_dMinPixel = dMin;
       m_dMaxPixel = dMax;
       m_dAutoScaleFactor = dialogAutoScale.getAutoScaleFactor();
+      OnUpdate(this, NULL);
       GetDocument()->UpdateAllViews (this);
     }
   }