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:
@@ -170,7 +170,7 @@ public:
|
||||
Layout();
|
||||
}
|
||||
|
||||
void SetBackground(wxColour colStart, wxColour colEnd)
|
||||
void SetBackgroundColours(wxColour colStart, wxColour colEnd)
|
||||
{
|
||||
if ( !colStart.IsOk() )
|
||||
{
|
||||
@@ -651,7 +651,7 @@ void wxRichToolTipGenericImpl::ShowFor(wxWindow* win)
|
||||
m_titleFont
|
||||
);
|
||||
|
||||
popup->SetBackground(m_colStart, m_colEnd);
|
||||
popup->SetBackgroundColours(m_colStart, m_colEnd);
|
||||
|
||||
popup->DoShow();
|
||||
|
||||
|
Reference in New Issue
Block a user