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

Modified Files:
        Screenshot.cpp 
Log Message:
Bring window to top of z-order.  Only seems to work on Windows.  Maybe 
readdress in the future.

Index: Screenshot.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Screenshot.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- Screenshot.cpp      7 Apr 2009 06:23:47 -0000       1.22
+++ Screenshot.cpp      7 Apr 2009 06:40:18 -0000       1.23
@@ -539,6 +539,16 @@
    } while (::wxFileExists(filename));
 
    Hide();
+
+   if (window) {
+      if (window->IsTopLevel()) {
+         window->Raise();
+      }
+      else {
+         wxGetTopLevelParent(window)->Raise();
+      }
+   }
+
    Yield();
 
    int screenW, screenH;


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to