use ShouldInheritColours() instead of IsContainerWindow()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-10-16 09:39:22 +00:00
parent 230205aec5
commit 81b344a543
3 changed files with 2 additions and 10 deletions

View File

@@ -252,8 +252,7 @@ public:
virtual void CalcUnscrolledPosition(int x, int y, int *xx, int *yy) const;
virtual void CalcScrolledPosition(int x, int y, int *xx, int *yy) const;
// set the right colours and border
virtual bool IsContainerWindow() const { return TRUE; }
// ensure we have correct default border
virtual wxBorder GetDefaultBorder() const { return wxBORDER_SUNKEN; }
// perform an action