SetTextColor --> SetTextColour, to be consistent with the rest of the lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -295,7 +295,7 @@ wxGCDC::wxGCDC(const wxWindowDC& dc)
|
||||
m_graphicContext->SetPen(dc.GetPen());
|
||||
if ( dc.GetBrush().Ok())
|
||||
m_graphicContext->SetBrush(dc.GetBrush());
|
||||
m_graphicContext->SetTextColor(dc.GetTextForeground());
|
||||
m_graphicContext->SetTextColour(dc.GetTextForeground());
|
||||
}
|
||||
|
||||
void wxGCDC::Init()
|
||||
@@ -450,7 +450,7 @@ void wxGCDC::SetTextForeground( const wxColour &col )
|
||||
if ( col != m_textForegroundColour )
|
||||
{
|
||||
m_textForegroundColour = col;
|
||||
m_graphicContext->SetTextColor( col );
|
||||
m_graphicContext->SetTextColour( col );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user