Update of /cvsroot/audacity/audacity-src/src/effects
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv30840
Modified Files:
ClickRemoval.cpp
Log Message:
Fix sliders under wxGTK
Index: ClickRemoval.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/effects/ClickRemoval.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- ClickRemoval.cpp 9 Jan 2009 06:15:42 -0000 1.16
+++ ClickRemoval.cpp 25 May 2009 11:17:29 -0000 1.17
@@ -349,6 +349,10 @@
MAX_THRESHOLD);
mThreshS->SetName(_("Select threshold"));
mThreshS->SetRange(MIN_THRESHOLD, MAX_THRESHOLD);
+#if defined(__WXGTK__)
+ // Force a minimum size since wxGTK allows it to go to zero
+ mThreshS->SetMinSize(wxSize(100, -1));
+#endif
// Click width
mWidthT = S.Id(ID_WIDTH_TEXT).AddTextBox(_("Max spike width (higher is
more sensitive):"),
@@ -362,6 +366,10 @@
MAX_CLICK_WIDTH);
mWidthS->SetName(_("Max spike width"));
mWidthS->SetRange(MIN_CLICK_WIDTH, MAX_CLICK_WIDTH);
+#if defined(__WXGTK__)
+ // Force a minimum size since wxGTK allows it to go to zero
+ mWidthS->SetMinSize(wxSize(100, -1));
+#endif
}
S.EndMultiColumn();
return;
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs