fixing infinite recursion for rotated text, introduced in cleanup r57915

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2009-01-16 15:31:55 +00:00
parent bda698ed19
commit 02fd8b9b61
2 changed files with 2 additions and 2 deletions

View File

@@ -498,7 +498,7 @@ protected:
wxGraphicsFont m_font; wxGraphicsFont m_font;
wxRasterOperationMode m_logicalFunction; wxRasterOperationMode m_logicalFunction;
private: protected:
// implementations of overloaded public functions: we use different names // implementations of overloaded public functions: we use different names
// for them to avoid the virtual function hiding problems in the derived // for them to avoid the virtual function hiding problems in the derived
// classes // classes

View File

@@ -2010,7 +2010,7 @@ void wxMacCoreGraphicsContext::DoDrawRotatedText(const wxString &str,
if ( UMAGetSystemVersion() >= 0x1050 ) if ( UMAGetSystemVersion() >= 0x1050 )
{ {
// default implementation takes care of rotation and calls non rotated DrawText afterwards // 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; return;
} }
#endif #endif