Update of /cvsroot/audacity/audacity-src/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv14150

Modified Files:
        SmartRecordDialog.cpp 
Log Message:
Re-add (after stupidly deleting) processing the enter key and hiding the menu 
button.

Index: SmartRecordDialog.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/SmartRecordDialog.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- SmartRecordDialog.cpp       7 Sep 2006 05:27:10 -0000       1.3
+++ SmartRecordDialog.cpp       7 Sep 2006 06:25:29 -0000       1.4
@@ -269,7 +269,7 @@
          m_pTimeTextCtrl_Start = new TimeTextCtrl(this, ID_TIMETEXT_START, 
strFormat);
          
m_pTimeTextCtrl_Start->SetTimeValue(wxDateTime_to_AudacityTime(m_DateTime_Start));
          S.AddWindow(m_pTimeTextCtrl_Start);
-         //v Don't allow them to change time format: 
m_pTimeTextCtrl_Start->EnableMenu();
+         m_pTimeTextCtrl_Start->EnableMenu(false);
       }
       S.EndStatic();
 
@@ -286,7 +286,7 @@
          m_pTimeTextCtrl_End = new TimeTextCtrl(this, ID_TIMETEXT_END, 
strFormat);
          
m_pTimeTextCtrl_End->SetTimeValue(wxDateTime_to_AudacityTime(m_DateTime_End));
          S.AddWindow(m_pTimeTextCtrl_End);
-         //v Don't allow them to change time format:  
m_pTimeTextCtrl_End->EnableMenu();
+         m_pTimeTextCtrl_End->EnableMenu(false);
       }
       S.EndStatic();
 
@@ -295,7 +295,7 @@
          m_pTimeTextCtrl_Duration = new TimeTextCtrl(this, 
ID_TIMETEXT_DURATION, strFormat);
          
m_pTimeTextCtrl_Duration->SetTimeValue(m_TimeSpan_Duration.GetSeconds().ToDouble());
 //vvv milliseconds?
          S.AddWindow(m_pTimeTextCtrl_Duration);
-         //vvv Maybe allow? //v Don't allow them to change time format:  
m_pTimeTextCtrl_Duration->EnableMenu();
+         m_pTimeTextCtrl_Duration->EnableMenu(false);
       }
       S.EndStatic();
    }


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to