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

Modified Files:
        ShuttleGui.cpp ShuttleGui.h 
Log Message:
Accessibility fixes.

Index: ShuttleGui.h
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/ShuttleGui.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- ShuttleGui.h        9 Jul 2008 07:30:40 -0000       1.27
+++ ShuttleGui.h        9 Jan 2009 06:15:42 -0000       1.28
@@ -330,5 +330,8 @@
    RulerPanel * AddRulerVertical( float low, float hi, const wxString & Units 
);
    AttachableScrollBar * AddAttachableScrollBar( long style = wxSB_HORIZONTAL 
);
    void AddStandardButtons( long buttons = eOkButton | eCancelButton, wxButton 
*extra = NULL );
+   void AddSpace( int width, int height );
+   void AddSpace( int size ) { AddSpace( size, size ); };
+   int GetBorder() { return miBorder; };
 };
 #endif

Index: ShuttleGui.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/ShuttleGui.cpp,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- ShuttleGui.cpp      13 Aug 2008 04:17:06 -0000      1.40
+++ ShuttleGui.cpp      9 Jan 2009 06:15:42 -0000       1.41
@@ -2011,3 +2011,11 @@
 
    EndVerticalLay();
 }
+
+void ShuttleGui::AddSpace( int width, int height )
+{
+   if( mShuttleMode != eIsCreating )
+      return;
+
+   mpSizer->Add( width, height, 0);
+}


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to