Rename wxRichToolTipPopup::SetBackground() method to avoid warnings in wxUniv.

wxUniv has SetBackground() in wxWindow so rename this one to
SetBackgroundColours() to avoid g++ warning about hiding a base class virtual.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-12-09 15:58:40 +00:00
parent 9c17ca3fe6
commit ccc0835d02

View File

@@ -170,7 +170,7 @@ public:
Layout(); Layout();
} }
void SetBackground(wxColour colStart, wxColour colEnd) void SetBackgroundColours(wxColour colStart, wxColour colEnd)
{ {
if ( !colStart.IsOk() ) if ( !colStart.IsOk() )
{ {
@@ -651,7 +651,7 @@ void wxRichToolTipGenericImpl::ShowFor(wxWindow* win)
m_titleFont m_titleFont
); );
popup->SetBackground(m_colStart, m_colEnd); popup->SetBackgroundColours(m_colStart, m_colEnd);
popup->DoShow(); popup->DoShow();