SHA256
1
0
forked from pool/audacity
audacity/audacity-1.3.7-font-fix.patch

45 lines
994 B
Diff

--- src/TrackArtist.cpp
+++ src/TrackArtist.cpp
@@ -374,7 +374,7 @@
dc->SetBrush(blackKeyBrush);
int fontSize = 10;
-#ifdef __WXMSW__
+#if defined(__WXMSW__) || defined(__WXGTK__) || defined(__WXGTK20__)
fontSize = 8;
#endif
--- src/TrackPanel.cpp
+++ src/TrackPanel.cpp
@@ -266,7 +266,7 @@
void SetLabelFont(wxDC * dc)
{
int fontSize = 10;
-#if defined __WXMSW__ || __WXGTK__
+#if defined(__WXMSW__) || defined(__WXGTK__) || defined(__WXGTK20__)
fontSize = 8;
#endif
--- src/widgets/ASlider.cpp
+++ src/widgets/ASlider.cpp
@@ -42,7 +42,7 @@
#include <iostream>
-#if defined __WXMSW__
+#if defined __WXMSW__ || defined(__WXGTK__) || defined(__WXGTK20__)
const int sliderFontSize = 10;
#else
const int sliderFontSize = 12;
--- src/widgets/Ruler.cpp
+++ src/widgets/Ruler.cpp
@@ -42,7 +42,7 @@
// often.
int fontSize = 10;
-#ifdef __WXMSW__
+#if defined(__WXMSW__) || defined(__WXGTK__) || defined(__WXGTK20__)
fontSize = 8;
#endif