Undo parameter renaming in DoDrawRotatedText().

This doesn't make any difference, of course, but results in a warning from the
ABI compliance checker tool, so undo this part of the changes of r74584.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-10-03 01:52:28 +00:00
parent fb79efd531
commit 36bc75c5bb

View File

@@ -1399,14 +1399,14 @@ void wxWindowDCImpl::DoDrawText(const wxString& text,
DoDrawRotatedText(text, xLogical, yLogical, 0);
}
void wxWindowDCImpl::DoDrawRotatedText(const wxString& text, int xLogical, int yLogical, double angle)
void wxWindowDCImpl::DoDrawRotatedText(const wxString& str, int xLogical, int yLogical, double angle)
{
if (!m_gdkwindow || text.empty())
if (!m_gdkwindow || str.empty())
return;
wxCHECK_RET( IsOk(), wxT("invalid window dc") );
pango_layout_set_text(m_layout, wxGTK_CONV(text), -1);
pango_layout_set_text(m_layout, wxGTK_CONV(str), -1);
const bool setAttrs = m_font.GTKSetPangoAttrs(m_layout);
const GdkColor* bg_col = NULL;