]> git.saurik.com Git - wxWidgets.git/commitdiff
Rename wxRichToolTipPopup::SetBackground() method to avoid warnings in wxUniv.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 9 Dec 2011 15:58:40 +0000 (15:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 9 Dec 2011 15:58:40 +0000 (15:58 +0000)
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

src/generic/richtooltipg.cpp

index 2cbce1e6fd83f63dfd09a3463ec4621e2eba5a7d..b3e4709ac90b2d64f852b9eaeed8ab33b38e7e87 100644 (file)
@@ -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();