diff --git a/include/wx/graphics.h b/include/wx/graphics.h index aba3af1aa4..a00468f6ca 100644 --- a/include/wx/graphics.h +++ b/include/wx/graphics.h @@ -498,7 +498,7 @@ protected: wxGraphicsFont m_font; wxRasterOperationMode m_logicalFunction; -private: +protected: // implementations of overloaded public functions: we use different names // for them to avoid the virtual function hiding problems in the derived // classes diff --git a/src/osx/carbon/graphics.cpp b/src/osx/carbon/graphics.cpp index 699842431c..6afb4468a4 100644 --- a/src/osx/carbon/graphics.cpp +++ b/src/osx/carbon/graphics.cpp @@ -2010,7 +2010,7 @@ void wxMacCoreGraphicsContext::DoDrawRotatedText(const wxString &str, if ( UMAGetSystemVersion() >= 0x1050 ) { // default implementation takes care of rotation and calls non rotated DrawText afterwards - wxGraphicsContext::DrawText( str, x, y, angle ); + wxGraphicsContext::DoDrawRotatedText( str, x, y, angle ); return; } #endif