Update of /cvsroot/audacity/audacity-src/src/prefs
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv9701/src/prefs
Modified Files:
PrefsDialog.cpp
Log Message:
-Improvements to backgrounds when theming
Index: PrefsDialog.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/prefs/PrefsDialog.cpp,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- PrefsDialog.cpp 21 Jun 2007 13:36:07 -0000 1.44
+++ PrefsDialog.cpp 4 Jul 2007 10:16:42 -0000 1.45
@@ -55,6 +55,7 @@
#include "QualityPrefs.h"
#include "SpectrumPrefs.h"
#include "MousePrefs.h"
+#include "../Experimental.h"
//JKC: Experimental treebook, backported from wxWidgets 2.7.x
//#include "../widgets/treebook.h"
@@ -170,6 +171,15 @@
if (selected < 0 || selected >= (int)mCategories->GetPageCount())
mSelected = 0;
+
+// This doesn't work...
+#if 0
+ wxTreeCtrl * pTree = mCategories->GetTreeCtrl();
+ long Style = pTree->GetWindowStyle();
+ Style |= wxTR_HIDE_ROOT;
+ pTree->SetWindowStyle(Style);
+#endif
+
mCategories->SetSelection(selected);
#if defined(__WXGTK__)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs