X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a798c64c4f5d3b0b29a32a99fc8bd21259bdc425..89fad939ec0d423961d8e93b2a0927f5b77bf256:/src/mac/carbon/graphics.cpp diff --git a/src/mac/carbon/graphics.cpp b/src/mac/carbon/graphics.cpp index 8b13f10247..63a716c19b 100755 --- a/src/mac/carbon/graphics.cpp +++ b/src/mac/carbon/graphics.cpp @@ -13,7 +13,7 @@ #include "wx/graphics.h" -#if wxMAC_USE_CORE_GRAPHICS +#if wxUSE_GRAPHICS_CONTEXT && wxMAC_USE_CORE_GRAPHICS #ifndef WX_PRECOMP #include "wx/log.h" @@ -936,7 +936,7 @@ void wxMacCoreGraphicsContext::DrawText( const wxString &str, wxDouble x, wxDoub DrawText(str, x, y, 0.0); } -void wxMacCoreGraphicsContext::DrawText( const wxString &str, wxDouble x, wxDouble y, double angle ) +void wxMacCoreGraphicsContext::DrawText( const wxString &str, wxDouble x, wxDouble y, wxDouble angle ) { OSStatus status = noErr; ATSUTextLayout atsuLayout;