]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/gdiobj.cpp
move wxGridCellRenderer::Draw before other derived classes implementations (no real...
[wxWidgets.git] / src / osx / carbon / gdiobj.cpp
index 9dcae80012b43086d69c9270a738e79061278624..f768d01beafe46221e127003152f3c121247f456 100644 (file)
@@ -64,7 +64,7 @@ const wxFont* wxStockGDIMac::GetFont(Item item)
 #if wxOSX_USE_COCOA_OR_CARBON
         case FONT_NORMAL:
             font = new wxFont;
 #if wxOSX_USE_COCOA_OR_CARBON
         case FONT_NORMAL:
             font = new wxFont;
-#if wxOSX_USE_CARBON
+#if wxOSX_USE_ATSU_TEXT
             font->MacCreateFromThemeFont(kThemeSystemFont);
 #else
             font->MacCreateFromUIFont(kCTFontSystemFontType);
             font->MacCreateFromThemeFont(kThemeSystemFont);
 #else
             font->MacCreateFromUIFont(kCTFontSystemFontType);
@@ -72,7 +72,7 @@ const wxFont* wxStockGDIMac::GetFont(Item item)
             break;
         case FONT_SMALL:
             font = new wxFont;
             break;
         case FONT_SMALL:
             font = new wxFont;
-#if wxOSX_USE_CARBON
+#if wxOSX_USE_ATSU_TEXT
             font->MacCreateFromThemeFont(kThemeSmallSystemFont);
 #else
             font->MacCreateFromUIFont(kCTFontSmallSystemFontType);
             font->MacCreateFromThemeFont(kThemeSmallSystemFont);
 #else
             font->MacCreateFromUIFont(kCTFontSmallSystemFontType);