if ( !BaseWindowClass::SetForegroundColour(colour) )
return false;
- DoSetForAllParts(&wxWindow::SetForegroundColour, colour);
+ DoSetForAllParts(&wxWindowBase::SetForegroundColour, colour);
return true;
}
if ( !BaseWindowClass::SetBackgroundColour(colour) )
return false;
- DoSetForAllParts(&wxWindow::SetBackgroundColour, colour);
+ DoSetForAllParts(&wxWindowBase::SetBackgroundColour, colour);
return true;
}
if ( !BaseWindowClass::SetFont(font) )
return false;
- DoSetForAllParts(&wxWindow::SetFont, font);
+ DoSetForAllParts(&wxWindowBase::SetFont, font);
return true;
}
if ( !BaseWindowClass::SetCursor(cursor) )
return false;
- DoSetForAllParts(&wxWindow::SetCursor, cursor);
+ DoSetForAllParts(&wxWindowBase::SetCursor, cursor);
return true;
}
virtual wxWindowList GetCompositeWindowParts() const = 0;
template <class T>
- void DoSetForAllParts(bool (wxWindow::*func)(const T&), const T& arg)
+ void DoSetForAllParts(bool (wxWindowBase::*func)(const T&), const T& arg)
{
// Simply call the setters for all parts of this composite window.
const wxWindowList parts = GetCompositeWindowParts();