Update of /cvsroot/audacity/audacity-src/src/widgets
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv18094/widgets
Modified Files:
Tag: AUDACITY_1_2
Ruler.cpp
Log Message:
Fix ruler text on Mac
Index: Ruler.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/widgets/Ruler.cpp,v
retrieving revision 1.17.2.9
retrieving revision 1.17.2.10
diff -u -d -r1.17.2.9 -r1.17.2.10
--- Ruler.cpp 12 Nov 2006 00:59:19 -0000 1.17.2.9
+++ Ruler.cpp 13 Nov 2006 05:24:49 -0000 1.17.2.10
@@ -639,6 +639,10 @@
if (desiredPixelHeight > 16)
desiredPixelHeight = 16;
+ #ifdef __WXMAC__
+ desiredPixelHeight -= 3;
+ #endif
+
// Keep making the font bigger until it's too big, then subtract one.
mDC->SetFont(wxFont(fontSize, wxSWISS, wxNORMAL, wxNORMAL));
mDC->GetTextExtent(exampleText, &strW, &strH);
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs