Update of /cvsroot/audacity/audacity-src/src/toolbars
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv9360/src/toolbars

Modified Files:
        ToolManager.cpp 
Log Message:
Fix minimum size when undocking Meter toolbar.

Index: ToolManager.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/toolbars/ToolManager.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- ToolManager.cpp     4 Nov 2009 01:17:11 -0000       1.23
+++ ToolManager.cpp     23 Nov 2009 07:25:07 -0000      1.24
@@ -146,7 +146,7 @@
       if( bar->IsResizable() )
       {
          // Calc the minimum size of the frame
-         mMinSize = bar->GetBestSize() + ( GetSize() - bar->GetSize() );
+         mMinSize = bar->GetMinSize() + ( GetSize() - bar->GetSize() );
       }
    }
 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to