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

Modified Files:
        Export.cpp 
Log Message:
Add handling of mouse capture lost events.

Index: Export.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/export/Export.cpp,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- Export.cpp  1 Jul 2008 17:06:31 -0000       1.76
+++ Export.cpp  25 Jul 2008 03:39:50 -0000      1.77
@@ -946,8 +946,6 @@
 {
    if( event.ButtonDown() ) 
    {
-      CaptureMouse();
-
       bool reset = true;
       //check tracks 
       for( int i = 0; i < mMixerSpec->GetNumTracks(); i++ )
@@ -998,12 +996,6 @@
          mSelectedTrack = mSelectedChannel = -1;
       Refresh( false );
    }
-   
-   if( event.ButtonUp() ) 
-   {
-      if( HasCapture() )
-         ReleaseMouse();
-   }
 }
 
 //----------------------------------------------------------------------------


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to