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

Modified Files:
        Audacity.h Menus.cpp 
Log Message:
Introduce an IS_BETA macro in Audacity.h and use it for Benchmark item...Are 
there any other BETA only bits?

Index: Audacity.h
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Audacity.h,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- Audacity.h  25 May 2009 11:40:41 -0000      1.65
+++ Audacity.h  30 May 2009 03:09:41 -0000      1.66
@@ -17,6 +17,9 @@
 
 *//********************************************************************/
 
+// Set to 0 for a release version and 1 for a beta version
+#define IS_BETA 1
+
 // Increment as appropriate every time you release a new version
 #define AUDACITY_VERSION   1
 #define AUDACITY_RELEASE   3

Index: Menus.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Menus.cpp,v
retrieving revision 1.481
retrieving revision 1.482
diff -u -d -r1.481 -r1.482
--- Menus.cpp   29 May 2009 17:07:39 -0000      1.481
+++ Menus.cpp   30 May 2009 03:09:41 -0000      1.482
@@ -967,7 +967,7 @@
    {
       c->AddSeparator();   
       c->AddItem(wxT("Screenshot"),     _("&Screenshot Tools..."),        
FN(OnScreenshot));
-#ifdef __WXDEBUG__
+#if IS_BETA
       c->AddSeparator();   
       c->AddItem(wxT("Benchmark"),      _("&Run Benchmark..."),           
FN(OnBenchmark));
 #endif


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to