]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/graphics.cpp
added empty virtual dtors to silence gcc warnings
[wxWidgets.git] / src / mac / carbon / graphics.cpp
index 8b13f1024711652a25e2bf99143ba741827babea..63a716c19b03d8cd44c77cbe5c8251c73f9a3f16 100755 (executable)
@@ -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;