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:
@@ -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
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user