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

Modified Files:
        ASlider.cpp treebook.cpp 
Log Message:
Make compatible with wxWidgets 2.8.

Index: ASlider.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/widgets/ASlider.cpp,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- ASlider.cpp 18 Nov 2006 07:17:19 -0000      1.53
+++ ASlider.cpp 18 Nov 2006 07:45:29 -0000      1.54
@@ -742,13 +742,17 @@
       break;
 
       case WXK_PAGEUP:
+#if !wxCHECK_VERSION(2,7,0)
       case WXK_PRIOR:
+#endif
          Increase( 5 );
          SendUpdate( mCurrentValue );
       break;
 
       case WXK_PAGEDOWN:
+#if !wxCHECK_VERSION(2,7,0)
       case WXK_NEXT:
+#endif
          Decrease( 5 );
          SendUpdate( mCurrentValue );
       break;

Index: treebook.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/widgets/treebook.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- treebook.cpp        17 Sep 2006 05:46:18 -0000      1.6
+++ treebook.cpp        18 Nov 2006 07:45:29 -0000      1.7
@@ -54,7 +54,11 @@
 // 
============================================================================ 
 // wxTreebook implementation 
 // 
============================================================================ 
+#if wxCHECK_VERSION(2,7,0)
+WX_DELEGATE_TO_CONTROL_CONTAINER(wxTreebook, wxWindow)
+#else
 WX_DELEGATE_TO_CONTROL_CONTAINER(wxTreebook)
+#endif
 
 // 
---------------------------------------------------------------------------- 
 // wxTreebook creation 
@@ -509,4 +513,4 @@
 { 
     //return m_list->SetItemImage(n, imageId); 
    return false; 
-} 
\ No newline at end of file
+}


-------------------------------------------------------------------------
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