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

Modified Files:
        AudioUnitEffect.cpp 
Log Message:
Hack to make it wxWidgets 2.8 compatible...need to find an alternative for this 
one.

Index: AudioUnitEffect.cpp
===================================================================
RCS file: 
/cvsroot/audacity/audacity-src/src/effects/audiounits/AudioUnitEffect.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- AudioUnitEffect.cpp 3 Jul 2006 19:15:47 -0000       1.7
+++ AudioUnitEffect.cpp 19 Nov 2006 01:50:42 -0000      1.8
@@ -783,7 +783,13 @@
    // compositing...Requires a patch to wx such that the line
    // "attr |= kWindowCompositingAttribute" only happens
    // if m_macUsesCompositing is true...
+   //
+   // LL:  Unfortunately, wxWidgets 2.7+ doesn't have a direct
+   //      way to disable compositing, so bypass it until a way
+   //      is found.
+#if !wxCHECK_VERSION(2, 7, 0)
    m_macUsesCompositing = false; 
+#endif
 
    // Rest of wxTopLevelWindow::Create
    SetName(title);


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to